From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 13 22:00:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F3AB106568B for ; Fri, 13 Nov 2009 22:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 449A08FC08 for ; Fri, 13 Nov 2009 22:00:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nADM0233033176 for ; Fri, 13 Nov 2009 22:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nADM0262033175; Fri, 13 Nov 2009 22:00:02 GMT (envelope-from gnats) Resent-Date: Fri, 13 Nov 2009 22:00:02 GMT Resent-Message-Id: <200911132200.nADM0262033175@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edward Tomasz Napierala Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE9E1106568F for ; Fri, 13 Nov 2009 21:53:55 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.freebsd.org (Postfix) with ESMTP id B3C558FC19 for ; Fri, 13 Nov 2009 21:53:55 +0000 (UTC) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id 256CF39B2C; Fri, 13 Nov 2009 22:58:05 +0100 (CET) Message-Id: <20091113215805.256CF39B2C@pin.if.uz.zgora.pl> Date: Fri, 13 Nov 2009 22:58:05 +0100 (CET) From: Edward Tomasz Napierala To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: melifaro@ipfw.ru Subject: ports/140540: [PATCH] net/opal3: fix build after audio/celt update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 22:00:03 -0000 >Number: 140540 >Category: ports >Synopsis: [PATCH] net/opal3: fix build after audio/celt update >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 13 22:00:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Edward Tomasz Napierala >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 3 02:15:11 CEST >Description: Fix build after audio/celt update. Added file(s): - files/patch-plugins-audio-celt-celtcodec.c Port maintainer (melifaro@ipfw.ru) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- opal3-3.6.6_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/opal3/Makefile /home/trasz/opal3/Makefile --- /usr/ports/net/opal3/Makefile 2009-10-20 08:26:32.000000000 +0200 +++ /home/trasz/opal3/Makefile 2009-11-13 22:56:50.000000000 +0100 @@ -7,7 +7,7 @@ PORTNAME= opal3 PORTVERSION= 3.6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/opalvoip/v3.6%20Lalande/Stable%205 DISTNAME= opal-${PORTVERSION} diff -ruN --exclude=CVS /usr/ports/net/opal3/files/patch-plugins-audio-celt-celtcodec.c /home/trasz/opal3/files/patch-plugins-audio-celt-celtcodec.c --- /usr/ports/net/opal3/files/patch-plugins-audio-celt-celtcodec.c 1970-01-01 01:00:00.000000000 +0100 +++ /home/trasz/opal3/files/patch-plugins-audio-celt-celtcodec.c 2009-11-13 22:56:49.000000000 +0100 @@ -0,0 +1,41 @@ +--- plugins/audio/celt/celtcodec.c.orig 2009-09-22 02:57:45.000000000 +0200 ++++ plugins/audio/celt/celtcodec.c 2009-11-13 22:00:39.000000000 +0100 +@@ -52,7 +52,7 @@ static int init_mode(CELTContext *celt, + { + int error = 0; + +- celt->mode = celt_mode_create(codec->sampleRate, 1, codec->parm.audio.samplesPerFrame, &error); ++ celt->mode = celt_mode_create(codec->sampleRate, codec->parm.audio.samplesPerFrame, &error); + if (celt->mode == NULL) { + return FALSE; + } +@@ -74,7 +74,7 @@ static void * celt_create_encoder(const + return NULL; + } + +- celt->encoder_state = celt_encoder_create(celt->mode); ++ celt->encoder_state = celt_encoder_create(celt->mode, 1, NULL); + if (celt->encoder_state == NULL ) { + celt_mode_destroy(celt->mode); + free(celt); +@@ -96,7 +96,7 @@ static void * celt_create_decoder(const + return NULL; + } + +- celt->decoder_state = celt_decoder_create(celt->mode); ++ celt->decoder_state = celt_decoder_create(celt->mode, 1, NULL); + if (celt->decoder_state == NULL ) { + celt_mode_destroy(celt->mode); + free(celt); +@@ -143,9 +143,9 @@ static int celt_codec_encoder(const stru + return FALSE; + + #ifdef HAVE_CELT_0_5_0_OR_LATER +- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, NULL, (char *)toPtr, celt->bytes_per_packet); ++ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, NULL, (char *)toPtr, celt->bytes_per_packet); + #else +- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, (char *)toPtr, celt->bytes_per_packet); ++ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, (char *)toPtr, celt->bytes_per_packet); + #endif + if (byteCount < 0) { + return 0; --- opal3-3.6.6_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: