summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-11-11 00:05:00 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-11-11 00:05:00 +0000
commita3ff316d8a412f651b3f735036e0302b77506a23 (patch)
tree6b28084d51e7db26245b31776a5a12630f856140
parentff0903b231a2a37d5e31b6212562bf0f0410e298 (diff)
downloadFreeBSD-ports-a3ff316d8a412f651b3f735036e0302b77506a23.zip
FreeBSD-ports-a3ff316d8a412f651b3f735036e0302b77506a23.tar.gz
Add a patch that allows xmms to play the next song in the playlist.
It's pretty ugly and should be fixed properly some time. Submitted by: Jakob Alvermark <jakob@teligent.se>
-rw-r--r--audio/xmms/files/patch-ab14
-rw-r--r--multimedia/xmms/files/patch-ab14
2 files changed, 28 insertions, 0 deletions
diff --git a/audio/xmms/files/patch-ab b/audio/xmms/files/patch-ab
new file mode 100644
index 0000000..e79bff1
--- /dev/null
+++ b/audio/xmms/files/patch-ab
@@ -0,0 +1,14 @@
+--- Output/OSS/audio.c.orig Thu Oct 14 09:26:06 1999
++++ Output/OSS/audio.c Tue Sep 28 16:36:45 1999
+@@ -146,10 +146,7 @@
+ audio_buf_info buf_info;
+ int bytes;
+
+- if (!ioctl(fd, SNDCTL_DSP_GETOSPACE, &buf_info))
+- bytes = ((buf_info.fragstotal - buf_info.fragments - 3) * buf_info.fragsize);
+- else
+- bytes = 0;
++ bytes = 0;
+
+ if (!oss_used() && bytes <= 0)
+ return FALSE;
diff --git a/multimedia/xmms/files/patch-ab b/multimedia/xmms/files/patch-ab
new file mode 100644
index 0000000..e79bff1
--- /dev/null
+++ b/multimedia/xmms/files/patch-ab
@@ -0,0 +1,14 @@
+--- Output/OSS/audio.c.orig Thu Oct 14 09:26:06 1999
++++ Output/OSS/audio.c Tue Sep 28 16:36:45 1999
+@@ -146,10 +146,7 @@
+ audio_buf_info buf_info;
+ int bytes;
+
+- if (!ioctl(fd, SNDCTL_DSP_GETOSPACE, &buf_info))
+- bytes = ((buf_info.fragstotal - buf_info.fragments - 3) * buf_info.fragsize);
+- else
+- bytes = 0;
++ bytes = 0;
+
+ if (!oss_used() && bytes <= 0)
+ return FALSE;
OpenPOWER on IntegriCloud