aboutsummaryrefslogtreecommitdiffstats
path: root/audio/jack
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
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')
-rw-r--r--audio/jack/Makefile2
-rw-r--r--audio/jack/files/patch-drivers-alsa-midi-alsa_rawmidi.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/audio/jack/Makefile b/audio/jack/Makefile
index e85e3c342efc..25156e6ec81a 100644
--- a/audio/jack/Makefile
+++ b/audio/jack/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jackit
PORTVERSION= 0.121.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://jackaudio.org/downloads/
DISTNAME= jack-audio-connection-kit-${PORTVERSION}
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);