summaryrefslogtreecommitdiff
path: root/audio/jack
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 17:51:21 +0000
committerhans <hans@pkgsrc.org>2012-01-11 17:51:21 +0000
commitefffa942b97610f02100c42dbf9d21d35ac5c4d1 (patch)
tree46a483248085044da466b3512bfd20c23b490b9c /audio/jack
parentc92bd5fcc3d81eb742729638cc53ae2b1fdd3515 (diff)
downloadpkgsrc-efffa942b97610f02100c42dbf9d21d35ac5c4d1.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/jack')
-rw-r--r--audio/jack/Makefile3
-rw-r--r--audio/jack/distinfo3
-rw-r--r--audio/jack/patches/patch-drivers_netjack_netjack__packet.c15
3 files changed, 19 insertions, 2 deletions
diff --git a/audio/jack/Makefile b/audio/jack/Makefile
index 05f43135547..a1835817df0 100644
--- a/audio/jack/Makefile
+++ b/audio/jack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/01/04 06:46:58 sbd Exp $
+# $NetBSD: Makefile,v 1.19 2012/01/11 17:51:21 hans Exp $
#
DISTNAME= jack-audio-connection-kit-${JACK_VERSION}
@@ -38,6 +38,7 @@ CONFIGURE_ARGS+= --enable-timestamps
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
CFLAGS.Linux+= -D_GNU_SOURCE
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
CONFIGURE_ENV+= ac_cv_header_readline_chardefs_h=yes
diff --git a/audio/jack/distinfo b/audio/jack/distinfo
index 68d60ce4a0e..9c019ea90b9 100644
--- a/audio/jack/distinfo
+++ b/audio/jack/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2008/11/16 11:55:19 bjs Exp $
+$NetBSD: distinfo,v 1.9 2012/01/11 17:51:21 hans Exp $
SHA1 (jack-audio-connection-kit-0.115.1.tar.bz2) = 13c07dd4c9bc53475084f8e7a9c5bd9791f76838
RMD160 (jack-audio-connection-kit-0.115.1.tar.bz2) = fa4e0eace1a21cdfb29b2fe32b38a0c12b98434a
@@ -19,3 +19,4 @@ SHA1 (patch-ap) = 60738eae086bdab7aa1986889da95621353f7aa6
SHA1 (patch-aq) = 212441bb56a4cf33a213bb299f42e7dbcbc33274
SHA1 (patch-ar) = 892dcd268eef033a9dcb2251560fc48662b54916
SHA1 (patch-as) = 46c609026d53fdebf1d46263d8f196cd8ecbac77
+SHA1 (patch-drivers_netjack_netjack__packet.c) = 6ac2d470a10a823d66f3836989fa7125eae3e1b9
diff --git a/audio/jack/patches/patch-drivers_netjack_netjack__packet.c b/audio/jack/patches/patch-drivers_netjack_netjack__packet.c
new file mode 100644
index 00000000000..aef26df4658
--- /dev/null
+++ b/audio/jack/patches/patch-drivers_netjack_netjack__packet.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-drivers_netjack_netjack__packet.c,v 1.1 2012/01/11 17:51:21 hans Exp $
+
+--- drivers/netjack/netjack_packet.c.orig 2008-11-11 23:36:40.000000000 +0100
++++ drivers/netjack/netjack_packet.c 2011-12-30 03:30:24.997459515 +0100
+@@ -35,6 +35,10 @@
+ #include <errno.h>
+ #include <stdarg.h>
+
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ #include <jack/types.h>
+ #include <jack/engine.h>
+