pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/smpeg unbreak the compile with gcc-4. reque...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f3fe232f26c
branches:  trunk
changeset: 514850:4f3fe232f26c
user:      christos <christos%pkgsrc.org@localhost>
date:      Mon Jun 19 00:13:57 2006 +0000

description:
unbreak the compile with gcc-4. requested by phone.

diffstat:

 multimedia/smpeg/distinfo         |   3 ++-
 multimedia/smpeg/patches/patch-ae |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 83a9ff4b7e4e -r 4f3fe232f26c multimedia/smpeg/distinfo
--- a/multimedia/smpeg/distinfo Mon Jun 19 00:09:01 2006 +0000
+++ b/multimedia/smpeg/distinfo Mon Jun 19 00:13:57 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/09/04 05:20:05 xtraeme Exp $
+$NetBSD: distinfo,v 1.5 2006/06/19 00:13:57 christos Exp $
 
 SHA1 (smpeg-0.4.4.tar.gz) = 6d7f4449472e6270ab435b2224f3fad951c35259
 RMD160 (smpeg-0.4.4.tar.gz) = d55249ad53417fa0df3d925aed0e83d2204e28b7
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = f0c168dc631149f14c92d2cd6cb5462af9869461
 SHA1 (patch-ac) = 60a8cd16216f4d2ec64b2727fa020d18dda7bec7
 SHA1 (patch-ad) = 021ffc5024723173c8a6cda04ae6f70add974faa
+SHA1 (patch-ae) = 0c7646ec3ce331b6991d59d96efa1ba07fbb91e5
diff -r 83a9ff4b7e4e -r 4f3fe232f26c multimedia/smpeg/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/smpeg/patches/patch-ae Mon Jun 19 00:13:57 2006 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1 2006/06/19 00:13:58 christos Exp $
+
+--- MPEGaudio.h.orig   2001-04-04 16:42:40.000000000 -0400
++++ MPEGaudio.h        2006-06-18 20:07:34.000000000 -0400
+@@ -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 {
+ 



Home | Main Index | Thread Index | Old Index