summaryrefslogtreecommitdiffstats
path: root/audio/xmms-jack/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-08 12:23:50 +0000
committerkrion <krion@FreeBSD.org>2004-04-08 12:23:50 +0000
commit4b8d2533c8c763eaa8abe2352f5d57ec6995de0d (patch)
tree11db1f4e8c8bf0f52ddbae256bac3390e3a64e0a /audio/xmms-jack/files
parent0afd45cc6bbf622325151ffe9dd4fca8f6a7acaf (diff)
downloadFreeBSD-ports-4b8d2533c8c763eaa8abe2352f5d57ec6995de0d.zip
FreeBSD-ports-4b8d2533c8c763eaa8abe2352f5d57ec6995de0d.tar.gz
- Fix build on 4-x
PR: ports/65319 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'audio/xmms-jack/files')
-rw-r--r--audio/xmms-jack/files/patch-bio2jack.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/xmms-jack/files/patch-bio2jack.c b/audio/xmms-jack/files/patch-bio2jack.c
new file mode 100644
index 0000000..6b0b71f
--- /dev/null
+++ b/audio/xmms-jack/files/patch-bio2jack.c
@@ -0,0 +1,19 @@
+--- bio2jack.c.orig Thu Apr 8 10:03:08 2004
++++ bio2jack.c Thu Apr 8 10:07:28 2004
+@@ -585,6 +585,7 @@
+ /* and transition to STOPPED */
+ if(this->state == RESET)
+ {
++ wave_header_t *wh;
+ this->written_client_bytes = 0;
+ this->played_client_bytes = 0; /* number of the clients bytes that jack has played */
+
+@@ -598,7 +599,7 @@
+ /* free up all of the buffers of audio that are queued */
+ /* NOTE: this needs to be done inside of the callback because */
+ /* the callback could be using any of these buffers */
+- wave_header_t *wh = this->pPlayPtr;
++ wh = this->pPlayPtr;
+ while(wh)
+ {
+ wh = wh->pNext;
OpenPOWER on IntegriCloud