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 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) {