openbsd-ports/audio/xmp/patches/patch-configure
2012-03-22 13:32:55 +00:00

32 lines
935 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2012/03/22 13:32:55 dcoppa Exp $
Disable obsolete audio(4) driver
--- configure.orig Thu Mar 22 13:06:27 2012
+++ configure Thu Mar 22 13:06:38 2012
@@ -5198,7 +5198,7 @@ done
fi
;;
openbsd*)
- for ac_header in sndio.h sys/audio.h sys/audioio.h
+ for ac_header in sndio.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -5215,15 +5215,6 @@ done
DRIVERS="${DRIVERS} sndio.o"
LIBS="${LIBS} -lsndio"
$as_echo "#define DRIVER_SNDIO 1" >>confdefs.h
-
- fi
- if test "${ac_cv_header_sys_audio_h}" = "yes"; then
- DRIVERS="${DRIVERS} openbsd.o"
- $as_echo "#define DRIVER_OPENBSD 1" >>confdefs.h
-
- elif test "${ac_cv_header_sys_audioio_h}" = "yes"; then
- DRIVERS="${DRIVERS} openbsd.o"
- $as_echo "#define DRIVER_OPENBSD 1" >>confdefs.h
fi
;;