summaryrefslogtreecommitdiff
path: root/multimedia/smpeg
diff options
context:
space:
mode:
authorchristos <christos>2006-06-19 00:13:57 +0000
committerchristos <christos>2006-06-19 00:13:57 +0000
commit24b91c9715f2071f8f94fcb5dd77696f6f5b99c2 (patch)
tree263a6fa68ff690b3c944f967cb0db0f0fec2b0ff /multimedia/smpeg
parent930e8e8593898906dff5ab87dcfee2a9e3908804 (diff)
downloadpkgsrc-24b91c9715f2071f8f94fcb5dd77696f6f5b99c2.tar.gz
unbreak the compile with gcc-4. requested by phone.
Diffstat (limited to 'multimedia/smpeg')
-rw-r--r--multimedia/smpeg/distinfo3
-rw-r--r--multimedia/smpeg/patches/patch-ae18
2 files changed, 20 insertions, 1 deletions
diff --git a/multimedia/smpeg/distinfo b/multimedia/smpeg/distinfo
index a5bdf55f364..3ef2fd44960 100644
--- a/multimedia/smpeg/distinfo
+++ b/multimedia/smpeg/distinfo
@@ -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-aa) = 0a691663e1966dbd5d37225b11b6f5f6d9ad0bf0
SHA1 (patch-ab) = f0c168dc631149f14c92d2cd6cb5462af9869461
SHA1 (patch-ac) = 60a8cd16216f4d2ec64b2727fa020d18dda7bec7
SHA1 (patch-ad) = 021ffc5024723173c8a6cda04ae6f70add974faa
+SHA1 (patch-ae) = 0c7646ec3ce331b6991d59d96efa1ba07fbb91e5
diff --git a/multimedia/smpeg/patches/patch-ae b/multimedia/smpeg/patches/patch-ae
new file mode 100644
index 00000000000..7e3e3506f70
--- /dev/null
+++ b/multimedia/smpeg/patches/patch-ae
@@ -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 {
+