pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/quake2forge Fix audio device, so the sound works...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3f7e0a0425f
branches: trunk
changeset: 473126:f3f7e0a0425f
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Fri Apr 16 15:17:21 2004 +0000
description:
Fix audio device, so the sound works correctly. Sorry I forgot to check
it before... heh.
diffstat:
games/quake2forge/Makefile | 4 +++-
games/quake2forge/distinfo | 3 ++-
games/quake2forge/patches/patch-ab | 13 +++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r e8855ab367bd -r f3f7e0a0425f games/quake2forge/Makefile
--- a/games/quake2forge/Makefile Fri Apr 16 15:05:34 2004 +0000
+++ b/games/quake2forge/Makefile Fri Apr 16 15:17:21 2004 +0000
@@ -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_X11= yes
GNU_CONFIGURE= yes
+CFLAGS+= -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+
BUILDLINK_TRANSFORM+= S:-Werror:
CONFIGURE_ARGS+= --program-transform-name='s/^quake2$$/quake2forge/'
diff -r e8855ab367bd -r f3f7e0a0425f games/quake2forge/distinfo
--- a/games/quake2forge/distinfo Fri Apr 16 15:05:34 2004 +0000
+++ b/games/quake2forge/distinfo Fri Apr 16 15:17:21 2004 +0000
@@ -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 -r e8855ab367bd -r f3f7e0a0425f games/quake2forge/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/quake2forge/patches/patch-ab Fri Apr 16 15:17:21 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index