aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jack/files
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2012-05-25 03:35:56 +0800
committernox <nox@FreeBSD.org>2012-05-25 03:35:56 +0800
commitbdd596adca1ecbd980ce950e61cf822de9de59c9 (patch)
treefbe174113d319fc2fb632221cc58f52107669260 /audio/jack/files
parent0c1e8731f219be9c4232751453e5e48add77a80a (diff)
downloadfreebsd-ports-gnome-bdd596adca1ecbd980ce950e61cf822de9de59c9.tar.gz
freebsd-ports-gnome-bdd596adca1ecbd980ce950e61cf822de9de59c9.tar.zst
freebsd-ports-gnome-bdd596adca1ecbd980ce950e61cf822de9de59c9.zip
- Fix alsa driver.
- Bump PORTREVISION. PR: ports/167971 Submitted by: amdmi3
Diffstat (limited to 'audio/jack/files')
-rw-r--r--audio/jack/files/patch-drivers-alsa-midi-alsa_rawmidi.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/jack/files/patch-drivers-alsa-midi-alsa_rawmidi.c b/audio/jack/files/patch-drivers-alsa-midi-alsa_rawmidi.c
new file mode 100644
index 000000000000..3d74601b7f64
--- /dev/null
+++ b/audio/jack/files/patch-drivers-alsa-midi-alsa_rawmidi.c
@@ -0,0 +1,11 @@
+--- ./drivers/alsa-midi/alsa_rawmidi.c.orig 2008-05-29 16:26:07.000000000 +0400
++++ ./drivers/alsa-midi/alsa_rawmidi.c 2012-05-16 20:10:24.645166068 +0400
+@@ -853,7 +853,7 @@
+ struct timespec ts;
+ ts.tv_sec = 0;
+ ts.tv_nsec = wait_nanosleep;
+- clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL);
++ nanosleep(&ts, NULL);
+ }
+ int res = poll((struct pollfd*)&pfds, npfds, poll_timeout);
+ //debug_log("midi_thread(%s): poll exit: %d", str->name, res);