summaryrefslogtreecommitdiff
path: root/audio/sox/patches
diff options
context:
space:
mode:
authorwiz <wiz>2007-08-06 05:28:36 +0000
committerwiz <wiz>2007-08-06 05:28:36 +0000
commitf7475395ed062195070d321f1f580eff08fb7cb0 (patch)
tree03d9648d22638292fdbc7d5ca6cbada98c3e8d85 /audio/sox/patches
parentd1fd9ce43701618630f418cd8c1c3fac577029d3 (diff)
downloadpkgsrc-f7475395ed062195070d321f1f580eff08fb7cb0.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