summaryrefslogtreecommitdiff
path: root/audio/darkice/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-06-19 04:50:08 +0000
committerdholland <dholland@pkgsrc.org>2011-06-19 04:50:08 +0000
commitb230315ee9fb516abb5070d0a6a32a79ed807504 (patch)
tree302b1324a1248e2377b8da730eb6af2d427d4012 /audio/darkice/patches
parente6232ff80e3831ccd284918de5895cd4da612fc5 (diff)
downloadpkgsrc-b230315ee9fb516abb5070d0a6a32a79ed807504.tar.gz
Don't build with -pedantic; it causes 32-bit builds to fail.
Diffstat (limited to 'audio/darkice/patches')
-rw-r--r--audio/darkice/patches/patch-src_Makefile_in16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/darkice/patches/patch-src_Makefile_in b/audio/darkice/patches/patch-src_Makefile_in
new file mode 100644
index 00000000000..457f8726b1c
--- /dev/null
+++ b/audio/darkice/patches/patch-src_Makefile_in
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_Makefile_in,v 1.1 2011/06/19 04:50:09 dholland Exp $
+
+Don't build with -pedantic; it causes g++ to reject "long long" so
+32-bit builds fail.
+
+--- src/Makefile.in~ 2006-05-19 13:08:33.000000000 +0000
++++ src/Makefile.in
+@@ -138,7 +138,7 @@ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ bin_PROGRAMS = darkice
+-AM_CXXFLAGS = -O2 -pedantic -Wall @DEBUG_CXXFLAGS@ @PTHREAD_CFLAGS@
++AM_CXXFLAGS = -O2 -Wall @DEBUG_CXXFLAGS@ @PTHREAD_CFLAGS@
+ INCLUDES = @LAME_INCFLAGS@ @VORBIS_INCFLAGS@ @FAAC_INCFLAGS@ @TWOLAME_INCFLAGS@ @ALSA_INCFLAGS@
+ LDADD = @PTHREAD_LIBS@ @LAME_LDFLAGS@ @VORBIS_LDFLAGS@ @FAAC_LDFLAGS@ @TWOLAME_LDFLAGS@ \
+ @ALSA_LDFLAGS@ @JACK_LIBS@