summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/patches/patch-ab
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2002-05-26 04:00:50 +0000
committerjmcneill <jmcneill@pkgsrc.org>2002-05-26 04:00:50 +0000
commitb0f04d75054965a93717ea0ff94b5722b9ae8d0e (patch)
tree48864ab26289d47d2f1d4a8fdd180c0e495bfd69 /audio/xmms-mad/patches/patch-ab
parent5ac7bac9c0a528b2e68cf61c16ee78f9c10a5b54 (diff)
downloadpkgsrc-b0f04d75054965a93717ea0ff94b5722b9ae8d0e.tar.gz
Import xmms-mad-0.0.9:
xmms-mad is an input plugin for xmms that uses libmad to decode MPEG layer 1/2/3 file and streams. Current featured include: local mp3 file playback shoutchast/icecast stream playback seeking ID3 tag parsing http header parsing See http://www.superduper.net/xmms-mad/ for more information.
Diffstat (limited to 'audio/xmms-mad/patches/patch-ab')
-rw-r--r--audio/xmms-mad/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/xmms-mad/patches/patch-ab b/audio/xmms-mad/patches/patch-ab
new file mode 100644
index 00000000000..3f5df213bdd
--- /dev/null
+++ b/audio/xmms-mad/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/26 04:00:51 jmcneill Exp $
+
+--- src/xmms-mad.c.orig Sat May 25 21:07:02 2002
++++ src/xmms-mad.c Sat May 25 21:07:05 2002
+@@ -83,6 +83,9 @@
+ printf ("waiting for thread\n");
+ #endif /* DEBUG */
+ pthread_join (decode_thread, 0);
++#ifdef __NetBSD__
++ pthread_yield_np ();
++#endif
+ #ifdef DEBUG
+ printf ("thread done\n");
+ #endif /* DEBUG */
+@@ -99,6 +102,9 @@
+ info.playing = 1;
+ input_get_info (&info);
+ pthread_create (&decode_thread, 0, decode, (void *) &info);
++#ifdef __NetBSD__
++ pthread_yield_np ();
++#endif
+ }
+ }
+