summaryrefslogtreecommitdiff
path: root/audio/sox/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-10-26 01:31:01 +0000
committerhubertf <hubertf>1999-10-26 01:31:01 +0000
commit3691c8cbfa01ecb2229df5af8368e5038d81e468 (patch)
treea778f16d95892dc92ca37d3f0e81a9fed43a7a5e /audio/sox/patches
parentde0fa35f310a82b1d55cecbebba7f14901032d32 (diff)
downloadpkgsrc-3691c8cbfa01ecb2229df5af8368e5038d81e468.tar.gz
Fix PR 8678 by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>:
- Prevent configure from picking up any stray /dev/dsp's and believing it should use OSS - In the play script, add proper arguments if ran on NetBSD - Fix the $PATH setting in the play script
Diffstat (limited to 'audio/sox/patches')
-rw-r--r--audio/sox/patches/patch-aa2
-rw-r--r--audio/sox/patches/patch-ab26
2 files changed, 28 insertions, 0 deletions
diff --git a/audio/sox/patches/patch-aa b/audio/sox/patches/patch-aa
index 2cc1e1b3ea6..2a8bf43f1d8 100644
--- a/audio/sox/patches/patch-aa
+++ b/audio/sox/patches/patch-aa
@@ -1,3 +1,5 @@
+$NetBSD: patch-aa,v 1.5 1999/10/26 01:31:04 hubertf Exp $
+
--- sunaudio.c.orig Sun Jul 18 20:57:36 1999
+++ sunaudio.c Thu Sep 30 01:43:33 1999
@@ -17,7 +17,10 @@
diff --git a/audio/sox/patches/patch-ab b/audio/sox/patches/patch-ab
new file mode 100644
index 00000000000..2cf331986bc
--- /dev/null
+++ b/audio/sox/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.5 1999/10/26 01:31:07 hubertf Exp $
+
+--- play.orig Tue Oct 26 03:16:27 1999
++++ play Tue Oct 26 03:19:33 1999
+@@ -14,7 +14,7 @@
+
+ # Set up path so that it can find Sox if user's path doesn't already
+ # include it.
+-PATH=$PATH:/usr/local/bin
++PATH=$PATH:@PREFIX@/bin
+ program_name=`basename $0`
+ program_version="2.0"
+
+@@ -171,6 +171,12 @@
+ esac
+ if [ -z "$device" ]; then
+ device="/dev/audio"
++ fi
++ ;;
++ NetBSD)
++ arch_defines="-t sunau"
++ if [ -z "$device" ]; then
++ device="/dev/audio"
+ fi
+ ;;
+ Linux|FreeBSD)