summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/quake2forge/Makefile4
-rw-r--r--games/quake2forge/distinfo3
-rw-r--r--games/quake2forge/patches/patch-ab13
3 files changed, 18 insertions, 2 deletions
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index 2fbbe9c566f..90e9337ee1c 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/04/16 15:03:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2004/04/16 15:17:21 xtraeme Exp $
#
DISTNAME= quake2-0.2.1
@@ -17,6 +17,8 @@ USE_LIBTOOL= yes
USE_X11= yes
GNU_CONFIGURE= yes
+CFLAGS+= -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+
BUILDLINK_TRANSFORM+= S:-Werror:
CONFIGURE_ARGS+= --program-transform-name='s/^quake2$$/quake2forge/'
diff --git a/games/quake2forge/distinfo b/games/quake2forge/distinfo
index a057b3ae19f..a0b51d9713e 100644
--- a/games/quake2forge/distinfo
+++ b/games/quake2forge/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/16 15:03:20 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/04/16 15:17:21 xtraeme Exp $
SHA1 (quake2-0.2.1.tar.bz2) = 258a391f54dd58e59924f78c074e614b228ff773
Size (quake2-0.2.1.tar.bz2) = 1286703 bytes
SHA1 (patch-aa) = 380078cc177fcc8b7d7c5bf2fd59620d67349d55
+SHA1 (patch-ab) = 5a6e0cef1736fa78cbf6a27d8efa31a6c107f97f
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