summaryrefslogtreecommitdiff
path: root/audio/xmms-jack
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-08 12:23:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-08 12:23:50 +0000
commit84e5bd3f4e80cf871374ccc8bec693fc938fad73 (patch)
tree094145bced419d730e253c2777d7347d0b000a4a /audio/xmms-jack
parent- Update to 0.94.0 (diff)
- Fix build on 4-x
PR: ports/65319 Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes: svn path=/head/; revision=106492
Diffstat (limited to 'audio/xmms-jack')
-rw-r--r--audio/xmms-jack/Makefile4
-rw-r--r--audio/xmms-jack/files/patch-bio2jack.c19
2 files changed, 19 insertions, 4 deletions
diff --git a/audio/xmms-jack/Makefile b/audio/xmms-jack/Makefile
index ed3b089c5c68..11d010732304 100644
--- a/audio/xmms-jack/Makefile
+++ b/audio/xmms-jack/Makefile
@@ -33,10 +33,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} <= 500000
-BROKEN= "Does not compile"
-.endif
-
post-patch:
@${RM} -rf ${WRKSRC}/.libs
@${RM} -rf ${WRKSRC}/autom4te.cache
diff --git a/audio/xmms-jack/files/patch-bio2jack.c b/audio/xmms-jack/files/patch-bio2jack.c
new file mode 100644
index 000000000000..6b0b71f14d55
--- /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;