split out the libmp4v2 part from mpeg4ip -- all users in the pkgsrc
[pkgsrc.git] / multimedia / libmp4v2 / patches / patch-af
1 $NetBSD: patch-af,v 1.1 2006/06/16 07:19:39 rillig Exp $
2
3 gcc4 does not like "static" external function declarations.
4
5 --- lib/SDLAudio/src/audio/sun/SDL_sunaudio.c.orig      2004-02-24 21:36:07.000000000 +0100
6 +++ lib/SDLAudio/src/audio/sun/SDL_sunaudio.c   2006-06-16 09:16:42.000000000 +0200
7 @@ -163,9 +163,11 @@ void DSP_WaitAudio(_THIS)
8  #endif
9  }
10  
11 +static Uint8 snd2au(int sample);
12 +
13  void DSP_PlayAudio(_THIS)
14  {
15 -       static Uint8 snd2au(int sample);
16 +
17         /* Write the audio data */
18         if ( ulaw_only ) {
19                 /* Assuming that this->spec.freq >= 8000 Hz */