summaryrefslogtreecommitdiff
path: root/audio/jack
diff options
context:
space:
mode:
authorwiz <wiz>2009-04-15 12:27:16 +0000
committerwiz <wiz>2009-04-15 12:27:16 +0000
commit2f5489c03eb58d2dc4466657b57e38f57983001b (patch)
treecb91692c71d4ffbe351e3eab58d2be1af138b2b1 /audio/jack
parent2ac5fb5bfcf06895fee3d81380b0409c414753b1 (diff)
downloadpkgsrc-2f5489c03eb58d2dc4466657b57e38f57983001b.tar.gz
Build fix (untested by me):
Define _GNU_SOURCE on Linux. From Aleksey Cheusov in PR 41219.
Diffstat (limited to 'audio/jack')
-rw-r--r--audio/jack/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/jack/Makefile b/audio/jack/Makefile
index e44503e785e..c5808829ef3 100644
--- a/audio/jack/Makefile
+++ b/audio/jack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/11/16 11:55:19 bjs Exp $
+# $NetBSD: Makefile,v 1.14 2009/04/15 12:27:16 wiz Exp $
#
DISTNAME= jack-audio-connection-kit-${JACK_VERSION}
@@ -35,6 +35,7 @@ CONFIGURE_ARGS+= --enable-resize
CONFIGURE_ARGS+= --enable-timestamps
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
+CFLAGS.Linux+= -D_GNU_SOURCE
CONFIGURE_ENV+= ac_cv_header_readline_chardefs_h=yes