summaryrefslogtreecommitdiff
path: root/audio/sox/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-08-06 05:28:36 +0000
committerwiz <wiz@pkgsrc.org>2007-08-06 05:28:36 +0000
commita04785c89c046b6ce0a015753973aefbe10905df (patch)
tree03d9648d22638292fdbc7d5ca6cbada98c3e8d85 /audio/sox/patches
parentef9c920e0549f939b505739db29dfcb6bd904a48 (diff)
downloadpkgsrc-a04785c89c046b6ce0a015753973aefbe10905df.tar.gz
Add an option to turn on OSS support (instead of turning it off
unconditionally), for DragonFly. Based on a patch provided by Steve O'Hara-Smith on pkgsrc-users. While here, split off options handling into an options.mk file.
Diffstat (limited to 'audio/sox/patches')
-rw-r--r--audio/sox/patches/patch-aa18
1 files changed, 14 insertions, 4 deletions
diff --git a/audio/sox/patches/patch-aa b/audio/sox/patches/patch-aa
index 80ff3baeb8c..89ce9315efd 100644
--- a/audio/sox/patches/patch-aa
+++ b/audio/sox/patches/patch-aa
@@ -1,12 +1,22 @@
-$NetBSD: patch-aa,v 1.10 2007/02/22 23:23:04 wiz Exp $
+$NetBSD: patch-aa,v 1.11 2007/08/06 05:28:37 wiz Exp $
---- configure.orig 2007-02-22 22:45:00.000000000 +0000
+--- configure.orig 2007-02-11 19:48:36.000000000 +0000
+++ configure
-@@ -20972,6 +20972,7 @@ fi
+@@ -20671,6 +20671,8 @@ _ACEOF
+
+ fi
+
++if test "$with_oss" != no; then
++
+ with_oss=no
+
+ for ac_header in sys/soundcard.h
+@@ -20972,6 +20974,8 @@ fi
done
-+with_oss=no
++fi
++
if test "$with_oss" = yes; then
cat >>confdefs.h <<\_ACEOF