summaryrefslogtreecommitdiff
path: root/audio/jack-devel/patches/patch-aj
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-03-16 09:26:46 +0000
committerbjs <bjs@pkgsrc.org>2008-03-16 09:26:46 +0000
commita675f09f97b9277dd44d87aef1876b6549018871 (patch)
tree6687545861ad15a0d301c77b802bdc4eb4a57614 /audio/jack-devel/patches/patch-aj
parent1b8ea98f12ede71f88719e910a985fcf4a1224c4 (diff)
downloadpkgsrc-a675f09f97b9277dd44d87aef1876b6549018871.tar.gz
Behold: The JACK audio connection kit version 0.109.10 (SVN).
This update was long overdue from version 0.100.0. Especially of note: native audio(4) support (OSS driver initially converted by jakemsr@openbsd.org), with certain changes/fixups by me (both in the driver code and elsewhere ... it is very much still a work in progress, but it is a work that does work, heh). Also, some patches to do the "right thing" throughout, i.e. press the "we are not linux" button. More fixes/enhancements coming soon. One outstanding issue I know of: an mmap failure when trying to run with realtime scheduling that I haven't been able to look into enough yet. A good player which supports this is audio/moc ... I hope to add a gstreamer plugin and much more shortly. I am in the planning stages of a rewrite of the driver using kqueue, also.
Diffstat (limited to 'audio/jack-devel/patches/patch-aj')
-rw-r--r--audio/jack-devel/patches/patch-aj21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/jack-devel/patches/patch-aj b/audio/jack-devel/patches/patch-aj
new file mode 100644
index 00000000000..5df88c14493
--- /dev/null
+++ b/audio/jack-devel/patches/patch-aj
@@ -0,0 +1,21 @@
+$NetBSD: patch-aj,v 1.1.1.1 2008/03/16 09:26:46 bjs Exp $
+
+--- libjack/client.c.orig 2008-03-12 10:36:07.000000000 -0400
++++ libjack/client.c
+@@ -1896,14 +1896,14 @@ jack_activate (jack_client_t *client)
+ * pages are actually mapped (more important for mlockall(2)
+ * usage in jack_start_thread())
+ */
+-
++#ifdef __gnu_linux__
+ char buf[JACK_THREAD_STACK_TOUCH];
+ int i;
+
+ for (i = 0; i < JACK_THREAD_STACK_TOUCH; i++) {
+ buf[i] = (char) (i & 0xff);
+ }
+-
++#endif
+ if (client->control->type == ClientInternal ||
+ client->control->type == ClientDriver) {
+ goto startit;