- Fix build with gcc4.x
Reported by : Kris Obtained from : NetBSD
This commit is contained in:
@@ -21,7 +21,7 @@ WANT_GNOME= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_SDL= sdl
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ENV= GLBASE="${X11BASE}" \
|
||||
CPPFLAGS="-I${X11BASE}/include" \
|
||||
CC="${CXX}" REAL_CC="${CC}"
|
||||
|
||||
16
multimedia/smpeg/files/patch-MPEGaudio.h
Normal file
16
multimedia/smpeg/files/patch-MPEGaudio.h
Normal file
@@ -0,0 +1,16 @@
|
||||
--- MPEGaudio.h Tue Mar 20 13:40:18 2007
|
||||
+++ MPEGaudio.h Tue Mar 20 13:43:04 2007
|
||||
@@ -148,6 +148,13 @@
|
||||
char buffer[2*WINDOWSIZE];
|
||||
};
|
||||
|
||||
+class MPEGaudio;
|
||||
+ void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
||||
+ int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
|
||||
+#ifdef THREADED_AUDIO
|
||||
+ int Decode_MPEGaudio(void *udata);
|
||||
+#endif
|
||||
+
|
||||
/* The actual MPEG audio class */
|
||||
class MPEGaudio : public MPEGerror, public MPEGaudioaction {
|
||||
|
||||
Reference in New Issue
Block a user