50 lines
2.0 KiB
Diff
50 lines
2.0 KiB
Diff
![]() |
Index: audio/jack/Makefile
|
||
|
===================================================================
|
||
|
RCS file: /home/cvs/ports/audio/jack/Makefile,v
|
||
|
retrieving revision 1.45
|
||
|
diff -u -p -u -p -r1.45 Makefile
|
||
|
--- audio/jack/Makefile 12 Jul 2019 20:43:34 -0000 1.45
|
||
|
+++ audio/jack/Makefile 29 Dec 2021 15:34:09 -0000
|
||
|
@@ -6,7 +6,7 @@ V = 0.125.0
|
||
|
DISTNAME = jack-audio-connection-kit-${V}
|
||
|
PKGNAME = jack-${V}
|
||
|
CATEGORIES = audio
|
||
|
-REVISION = 2
|
||
|
+REVISION = 3
|
||
|
|
||
|
SHARED_LIBS += jack 2.0 # 0.28
|
||
|
SHARED_LIBS += jackserver 2.0 # 0.28
|
||
|
Index: audio/jack/patches/patch-jack_types_h
|
||
|
===================================================================
|
||
|
RCS file: audio/jack/patches/patch-jack_types_h
|
||
|
diff -N audio/jack/patches/patch-jack_types_h
|
||
|
--- /dev/null 1 Jan 1970 00:00:00 -0000
|
||
|
+++ audio/jack/patches/patch-jack_types_h 29 Dec 2021 20:05:17 -0000
|
||
|
@@ -0,0 +1,26 @@
|
||
|
+$OpenBSD$
|
||
|
+
|
||
|
+Disable "register" variable name
|
||
|
+Picked from: https://github.com/jackaudio/headers/commit/ab27e5a59fe5294cf09d50ffa2414d1542cf245e
|
||
|
+
|
||
|
+Index: jack/types.h
|
||
|
+--- jack/types.h.orig
|
||
|
++++ jack/types.h
|
||
|
+@@ -386,7 +386,7 @@ typedef int (*JackSampleRateCallback)(jack_nframes_t
|
||
|
+ * @param register non-zero if the port is being registered,
|
||
|
+ * zero if the port is being unregistered
|
||
|
+ */
|
||
|
+-typedef void (*JackPortRegistrationCallback)(jack_port_id_t port, int register, void *arg);
|
||
|
++typedef void (*JackPortRegistrationCallback)(jack_port_id_t port, int /* register */, void *arg);
|
||
|
+
|
||
|
+ /**
|
||
|
+ * Prototype for the client supplied function that is called
|
||
|
+@@ -408,7 +408,7 @@ typedef void (*JackPortRenameCallback)(jack_port_id_t
|
||
|
+ * zero if the client is being unregistered
|
||
|
+ * @param arg pointer to a client supplied data
|
||
|
+ */
|
||
|
+-typedef void (*JackClientRegistrationCallback)(const char* name, int register, void *arg);
|
||
|
++typedef void (*JackClientRegistrationCallback)(const char* name, int /* register */, void *arg);
|
||
|
+
|
||
|
+ /**
|
||
|
+ * Prototype for the client supplied function that is called
|