pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpeg4ip gcc4 does not like declarations for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97a1dc09b51b
branches:  trunk
changeset: 514662:97a1dc09b51b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jun 16 07:19:39 2006 +0000

description:
gcc4 does not like declarations for "static" functions inside other
functions. Fixes PR 33743.

diffstat:

 multimedia/mpeg4ip/distinfo         |   3 ++-
 multimedia/mpeg4ip/patches/patch-af |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 659ddeaff13d -r 97a1dc09b51b multimedia/mpeg4ip/distinfo
--- a/multimedia/mpeg4ip/distinfo       Thu Jun 15 22:50:31 2006 +0000
+++ b/multimedia/mpeg4ip/distinfo       Fri Jun 16 07:19:39 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/06/08 09:17:02 hira Exp $
+$NetBSD: distinfo,v 1.6 2006/06/16 07:19:39 rillig Exp $
 
 SHA1 (mpeg4ip-1.5.tar.gz) = 32b5c1220fffa386da3efb50bde936990e0a472b
 RMD160 (mpeg4ip-1.5.tar.gz) = 98823860a4c3f2d49299f920661f1bd2b08a0673
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 9e4683fdbbfa3b85941243547773814ea50125a9
 SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56
 SHA1 (patch-ae) = 0418c4fa0fd966b3d5303d4f95a300d94fc48111
+SHA1 (patch-af) = a69e136fbe8db5ae844c90ae5e2f06e86bf2ed85
diff -r 659ddeaff13d -r 97a1dc09b51b multimedia/mpeg4ip/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpeg4ip/patches/patch-af       Fri Jun 16 07:19:39 2006 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2006/06/16 07:19:39 rillig Exp $
+
+gcc4 does not like "static" external function declarations.
+
+--- lib/SDLAudio/src/audio/sun/SDL_sunaudio.c.orig     2004-02-24 21:36:07.000000000 +0100
++++ lib/SDLAudio/src/audio/sun/SDL_sunaudio.c  2006-06-16 09:16:42.000000000 +0200
+@@ -163,9 +163,11 @@ void DSP_WaitAudio(_THIS)
+ #endif
+ }
+ 
++static Uint8 snd2au(int sample);
++
+ void DSP_PlayAudio(_THIS)
+ {
+-      static Uint8 snd2au(int sample);
++
+       /* Write the audio data */
+       if ( ulaw_only ) {
+               /* Assuming that this->spec.freq >= 8000 Hz */



Home | Main Index | Thread Index | Old Index