summaryrefslogtreecommitdiff
path: root/games/quake2forge/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2forge/patches/patch-ab')
-rw-r--r--games/quake2forge/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/quake2forge/patches/patch-ab b/games/quake2forge/patches/patch-ab
new file mode 100644
index 00000000000..2ffcb08746e
--- /dev/null
+++ b/games/quake2forge/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/04/16 15:17:21 xtraeme Exp $
+
+--- src/snd.c.orig 2004-04-16 17:11:10.000000000 +0200
++++ src/snd.c 2004-04-16 17:11:30.000000000 +0200
+@@ -211,7 +211,7 @@
+ sndbits = Cvar_Get("sndbits", "16", CVAR_ARCHIVE);
+ sndspeed = Cvar_Get("sndspeed", "0", CVAR_ARCHIVE);
+ sndchannels = Cvar_Get("sndchannels", "2", CVAR_ARCHIVE);
+- snddevice = Cvar_Get("snddevice", "/dev/dsp", CVAR_ARCHIVE);
++ snddevice = Cvar_Get("snddevice", DEVOSSAUDIO, CVAR_ARCHIVE);
+ }
+
+ // open /dev/dsp, check capability to mmap, and get size of dma buffer