summaryrefslogtreecommitdiff
path: root/audio/jack/patches/patch-af
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-07-31 03:58:05 +0000
committerbjs <bjs@pkgsrc.org>2008-07-31 03:58:05 +0000
commit283ce280f860246434d2f53e8b72ee0abeebe94f (patch)
tree770e17b43c12b69ad42039e9b44224ca64c912e0 /audio/jack/patches/patch-af
parent1b2aff6afd05b57c9e38ecfafe5bb547e5f5347e (diff)
downloadpkgsrc-283ce280f860246434d2f53e8b72ee0abeebe94f.tar.gz
Move audio/jack-devel to audio/jack: jack 0.100.0 was broken on many
platforms and a hideous anachronism. On NetBSD-current/i386 and amd64, at least, I can say that this package works very well. If you have issues with the audio skipping and are running NetBSD 4.99.x, try updating to rev. 1.241 of sys/dev/audio.c; the changes to audio_poll() and the pause attribute handling (in large part thanks to help from jakemsr@openbsd.org) are important for proper functioning of jack (though you may find it works regardless, depending upon your audio driver, how demanding your "workload" is, etc.). I will submit a pullup request for this change for NetBSD 4 as well. JACK now supports both our native audio API and OSS--I recommend trying both.
Diffstat (limited to 'audio/jack/patches/patch-af')
-rw-r--r--audio/jack/patches/patch-af15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/jack/patches/patch-af b/audio/jack/patches/patch-af
new file mode 100644
index 00000000000..bb3b6c4a83b
--- /dev/null
+++ b/audio/jack/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2008/07/31 03:58:05 bjs Exp $
+
+--- tools/transport.c.orig 2008-07-27 08:50:24.000000000 -0400
++++ tools/transport.c
+@@ -29,6 +29,10 @@
+ #include <jack/jack.h>
+ #include <jack/transport.h>
+
++#ifndef whitespace
++#define whitespace(c) (((c) == ' ') || ((c) == '\t'))
++#endif
++
+ char *package; /* program name */
+ int done = 0;
+ jack_client_t *client;