Package: smpeg
Version: 0.4.5+cvs20030824-1.7
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of smpeg_0.4.5+cvs20030824-1.7 on bigsur by sbuild/mips 1.94
...
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" 
> -DVERSION=\"0.4.5\" -I. -I. -g -O2 -I/usr/include/SDL -D_REENTRANT 
> -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include -DNDEBUG -I.. -DNOCONTROLS -I.. -I../audio -I../video 
> -fno-exceptions -fno-rtti -c MPEGaudio.cpp  -fPIC -DPIC -o .libs/MPEGaudio.lo
> MPEGaudio.cpp: In member function 'bool 
> MPEGaudio::WantedSpec(SDL_AudioSpec*)':
> MPEGaudio.cpp:107: error: 'Play_MPEGaudioSDL' was not declared in this scope
> MPEGaudio.cpp: In member function 'void MPEGaudio::StartDecoding()':
> MPEGaudio.cpp:156: error: 'Decode_MPEGaudio' was not declared in this scope
> make[2]: *** [MPEGaudio.lo] Error 1


--- ./MPEGaudio.h~      2006-03-13 15:24:38.000000000 +0000
+++ ./MPEGaudio.h       2006-03-13 15:25:07.000000000 +0000
@@ -149,6 +149,14 @@
 };
 
 /* The actual MPEG audio class */
+
+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
+
 class MPEGaudio : public MPEGerror, public MPEGaudioaction {
 
     friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to