diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-03-20 19:34:21 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-03-20 19:34:21 +0000 |
commit | d42b57098b7011065fd7a0e59c19660d3d3e1670 (patch) | |
tree | 089406a5af3b82cff329b6a44c2d1b17e640e095 /multimedia/smpeg | |
parent | 711d91a8d5bfff72470516f9eef54f0e26e29f9a (diff) | |
download | freebsd-ports-d42b57098b7011065fd7a0e59c19660d3d3e1670.zip |
- Fix build with gcc4.x
Reported by : Kris
Obtained from : NetBSD
Diffstat (limited to 'multimedia/smpeg')
-rw-r--r-- | multimedia/smpeg/Makefile | 2 | ||||
-rw-r--r-- | multimedia/smpeg/files/patch-MPEGaudio.h | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile index c52b5095d21c..2fb61bb25aee 100644 --- a/multimedia/smpeg/Makefile +++ b/multimedia/smpeg/Makefile @@ -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}" diff --git a/multimedia/smpeg/files/patch-MPEGaudio.h b/multimedia/smpeg/files/patch-MPEGaudio.h new file mode 100644 index 000000000000..b7a9d86f9c06 --- /dev/null +++ b/multimedia/smpeg/files/patch-MPEGaudio.h @@ -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 { + |