summaryrefslogtreecommitdiff
path: root/lang/squeak/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/squeak/patches/patch-ad')
-rw-r--r--lang/squeak/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/squeak/patches/patch-ad b/lang/squeak/patches/patch-ad
new file mode 100644
index 00000000000..4da90d76b9f
--- /dev/null
+++ b/lang/squeak/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2001/05/16 02:27:53 fredb Exp $
+
+--- ../src/unix/acinclude.m4.orig Mon Feb 12 15:59:05 2001
++++ ../src/unix/acinclude.m4
+@@ -149,10 +149,16 @@
+ AC_DEFUN(AC_HAVE_OSS,
+ [AC_CACHE_CHECK([for Open Sound System], ac_cv_oss,
+ AC_TRY_COMPILE([#include <sys/soundcard.h>],[OPEN_SOUND_SYSTEM;],
+- ac_cv_oss="yes", ac_cv_oss="no"))
++ ac_cv_oss="yes",
++ AC_TRY_COMPILE([#include <soundcard.h>],[SOUND_VERSION;],
++ ac_cv_oss="yes", ac_cv_oss="no")))
+ if $test "$ac_cv_oss" = "yes" -a -e /dev/dsp; then
+ AC_DEFINE(HAVE_OSS,1)
+ AC_DEFINE(OSS_DEVICE,"/dev/dsp")
++elif $test "$ac_cv_oss" = "yes" -a -e /dev/audio; then
++ AC_DEFINE(HAVE_OSS,1)
++ AC_DEFINE(OSS_DEVICE,"/dev/audio")
++ AC_CHECK_LIB([ossaudio], [_oss_ioctl])
+ fi])
+
+ AC_DEFUN(AC_C_BYTEORDER,