From c9be0402f68433e83189736f6aab80a756d182d6 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Wed, 28 Jul 1999 03:40:59 +0000 Subject: 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 --- audio/sox/files/patch-ab | 123 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 audio/sox/files/patch-ab (limited to 'audio/sox/files/patch-ab') diff --git a/audio/sox/files/patch-ab b/audio/sox/files/patch-ab new file mode 100644 index 000000000000..6051714d573c --- /dev/null +++ b/audio/sox/files/patch-ab @@ -0,0 +1,123 @@ +autoconf'ed version of patch-aa (make --with-oss-dsp still check to see +that the header files exist). + +--- configure.old Sat Jul 24 22:15:19 1999 ++++ configure Sat Jul 24 22:15:23 1999 +@@ -1549,23 +1549,24 @@ + fi + + echo "$ac_t""$ac_cv_dev_oss_dsp" 1>&6 +- if test "$ac_cv_dev_oss_dsp" = yes +- then +- for ac_hdr in sys/soundcard.h machine/soundcard.h ++fi ++if test "$ac_cv_dev_oss_dsp" = yes -o "$oss_dsp" = yes ++then ++ for ac_hdr in sys/soundcard.h machine/soundcard.h + do + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:1559: checking for $ac_hdr" >&5 ++echo "configure:1560: checking for $ac_hdr" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + rm -rf conftest* +@@ -1588,13 +1589,13 @@ + oss_dsp=yes + else + echo "$ac_t""no" 1>&6 ++oss_dsp=no + fi + done + +- if test "$oss_dsp" = auto +- then +- echo "configure: warning: No soundcard.h to compile with OSS /dev/dsp" 1>&2 +- fi ++ if test "$oss_dsp" = no ++ then ++ echo "configure: warning: No soundcard.h to compile with OSS /dev/dsp" 1>&2 + fi + fi + if test "$oss_dsp" = yes +@@ -1607,7 +1608,7 @@ + if test "$sun_audio" = auto + then + echo $ac_n "checking whether /dev/audio is functional (SUN style)""... $ac_c" 1>&6 +-echo "configure:1611: checking whether /dev/audio is functional (SUN style)" >&5 ++echo "configure:1612: checking whether /dev/audio is functional (SUN style)" >&5 + if eval "test \"`echo '$''{'ac_cv_dev_sun_audio'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1615,7 +1616,7 @@ + ac_cv_dev_sun_audio=no + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null ++if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null + then + ac_cv_dev_sun_audio=yes + else +@@ -1651,17 +1652,17 @@ + then + ac_safe=`echo "sys/audioio.h" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for sys/audioio.h""... $ac_c" 1>&6 +-echo "configure:1655: checking for sys/audioio.h" >&5 ++echo "configure:1656: checking for sys/audioio.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + rm -rf conftest* +@@ -1684,17 +1685,17 @@ + + ac_safe=`echo "sun/audioio.h" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for sun/audioio.h""... $ac_c" 1>&6 +-echo "configure:1688: checking for sun/audioio.h" >&5 ++echo "configure:1689: checking for sun/audioio.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + rm -rf conftest* -- cgit v1.2.3