ports/106982: Update port: audio/jack
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 20 16:21:42 UTC 2006
>Number: 106982
>Category: ports
>Synopsis: Update port: audio/jack
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 20 16:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Fix build on 4-stable
New file:
files/patch-example-clients_lsp.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/jack/Makefile audio/jack/Makefile
--- /usr/ports/audio/jack/Makefile Wed Dec 20 13:06:12 2006
+++ audio/jack/Makefile Wed Dec 20 13:22:23 2006
@@ -48,6 +48,11 @@
PLIST_SUB+= DOCS="@comment "
.endif
+.if ${OSVERSION} < 500000
+CONFIGURE_ENV+= ac_cv_func_clock_gettime=no
+CFLAGS+= -Duintmax_t=uintptr_t
+.endif
+
.if (${OSVERSION} > 500000 ) && (${OSVERSION} < 502102 )
BROKEN= Does not compile
.endif
@@ -80,9 +85,5 @@
post-build:
@${RM} -f ${WRKSRC}/doc/reference/html/dir__2F*
-
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/jack/files/patch-example-clients_lsp.c audio/jack/files/patch-example-clients_lsp.c
--- /usr/ports/audio/jack/files/patch-example-clients_lsp.c Thu Jan 1 09:00:00 1970
+++ audio/jack/files/patch-example-clients_lsp.c Thu Dec 7 16:58:57 2006
@@ -0,0 +1,14 @@
+--- example-clients/lsp.c.orig Fri May 26 11:45:08 2006
++++ example-clients/lsp.c Thu Dec 7 16:58:45 2006
+@@ -120,9 +120,9 @@
+ ports = jack_get_ports (client, NULL, NULL, 0);
+
+ for (i = 0; ports[i]; ++i) {
+- printf ("%s\n", ports[i]);
+-
+ jack_port_t *port = jack_port_by_name (client, ports[i]);
++
++ printf ("%s\n", ports[i]);
+
+ if (show_con) {
+ if ((connections = jack_port_get_all_connections (client, jack_port_by_name(client, ports[i]))) != 0) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list