summaryrefslogtreecommitdiff
path: root/audio/sox/files/patch-aa
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-07-28 03:40:59 +0000
committerBrian Feldman <green@FreeBSD.org>1999-07-28 03:40:59 +0000
commitc9be0402f68433e83189736f6aab80a756d182d6 (patch)
treef77fe185db28b2a4851f344e604fda6f21cc53dc /audio/sox/files/patch-aa
parentThe dist file is in the source directory instead of binaries directory. (diff)
Fix the build for systems without /dev/dsp. Update the master site, and
md5 checksum (version bump? no, just a file change! grr!). Submitted by: Dan Nelson <dnelson@emsphone.com>
Notes
Notes: svn path=/head/; revision=20369
Diffstat (limited to 'audio/sox/files/patch-aa')
-rw-r--r--audio/sox/files/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/sox/files/patch-aa b/audio/sox/files/patch-aa
new file mode 100644
index 000000000000..c3b6dc1d6e12
--- /dev/null
+++ b/audio/sox/files/patch-aa
@@ -0,0 +1,24 @@
+make --with-oss-dsp still check to see that the header files exist.
+
+--- configure.in.old Sun Jul 18 13:57:27 1999
++++ configure.in Sat Jul 24 22:08:09 1999
+@@ -194,13 +194,13 @@
+ ac_cv_dev_oss_dsp=no,
+ ac_cv_dev_oss_dsp=no)
+ )
+- if test "$ac_cv_dev_oss_dsp" = yes
++fi
++if test "$ac_cv_dev_oss_dsp" = yes -o "$oss_dsp" = yes
++then
++ AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h, oss_dsp=yes, oss_dsp=no)
++ if test "$oss_dsp" = no
+ then
+- AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h, oss_dsp=yes)
+- if test "$oss_dsp" = auto
+- then
+- AC_WARN([No soundcard.h to compile with OSS /dev/dsp])
+- fi
++ AC_WARN([No soundcard.h to compile with OSS /dev/dsp])
+ fi
+ fi
+ if test "$oss_dsp" = yes