diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-10-26 01:31:01 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-10-26 01:31:01 +0000 |
commit | ecffc685cf86a9dea796a9b2e3a962ac3c4a8785 (patch) | |
tree | a778f16d95892dc92ca37d3f0e81a9fed43a7a5e /audio/sox/patches | |
parent | c1a45b6a34d7b7e3548b73e310709c72da718911 (diff) | |
download | pkgsrc-ecffc685cf86a9dea796a9b2e3a962ac3c4a8785.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-aa | 2 | ||||
-rw-r--r-- | audio/sox/patches/patch-ab | 26 |
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) |