summaryrefslogtreecommitdiff
path: root/emulators/fuse/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fuse/patches/patch-aa')
-rw-r--r--emulators/fuse/patches/patch-aa20
1 files changed, 10 insertions, 10 deletions
diff --git a/emulators/fuse/patches/patch-aa b/emulators/fuse/patches/patch-aa
index 5c84ba83267..21777faf4e1 100644
--- a/emulators/fuse/patches/patch-aa
+++ b/emulators/fuse/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1 2004/02/13 13:40:15 adam Exp $
+$NetBSD: patch-aa,v 1.2 2004/07/20 13:12:16 adam Exp $
---- osssound.c.orig 2004-02-13 13:59:02.000000000 +0000
-+++ osssound.c
-@@ -21,7 +21,7 @@
+--- sound/osssound.c.orig 2004-07-20 14:50:41.000000000 +0000
++++ sound/osssound.c
+@@ -56,7 +56,7 @@ int sound_lowlevel_init(const char *devi
+ int frag,tmp,flags;
- #include <config.h>
+ /* select a default device if we weren't explicitly given one */
+-if(device==NULL) device = "/dev/dsp";
++if(device==NULL) device = DEVOSSAUDIO;
--#if !defined(UI_SDL) && defined(HAVE_SYS_SOUNDCARD_H) /* OSS sound */
-+#if !defined(UI_SDL) && defined(HAVE_SYS_SOUNDCARD_H) && !defined(HAVE_SYS_AUDIOIO_H) /* OSS sound */
-
- #include <stdio.h>
- #include <string.h>
+ /* Open the sound device non-blocking to avoid hangs if it is being
+ * used by something else, but then set it blocking again as that's what