summaryrefslogtreecommitdiff
path: root/games/xgalaga/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-01-03 12:37:08 +0000
committerobache <obache@pkgsrc.org>2009-01-03 12:37:08 +0000
commit77cfdab78321ee2abbfd533e1dbbc00800d16b5c (patch)
tree506707c718128952294e1cdbce3b72e8c5fb539c /games/xgalaga/patches
parentf25a593e1f158c13b6815d0ced340f5e21d9c485 (diff)
downloadpkgsrc-77cfdab78321ee2abbfd533e1dbbc00800d16b5c.tar.gz
Fixes typo ,it rise build failure on Solaris.
Noticed by Tim Larson in PR 40304.
Diffstat (limited to 'games/xgalaga/patches')
-rw-r--r--games/xgalaga/patches/patch-ab18
1 files changed, 15 insertions, 3 deletions
diff --git a/games/xgalaga/patches/patch-ab b/games/xgalaga/patches/patch-ab
index 501c3bf6ff9..7b0d1cc9b00 100644
--- a/games/xgalaga/patches/patch-ab
+++ b/games/xgalaga/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2006/01/13 02:02:50 joerg Exp $
+$NetBSD: patch-ab,v 1.3 2009/01/03 12:37:08 obache Exp $
--- configure.orig 1998-05-11 07:02:12.000000000 +0000
+++ configure
@@ -27,7 +27,7 @@ $NetBSD: patch-ab,v 1.2 2006/01/13 02:02:50 joerg Exp $
SOUNDSERVER=xgal.sndsrv.freebsd
cat >> confdefs.h <<\EOF
#define SOUNDDEV "/dev/dsp"
-@@ -1850,6 +1856,16 @@ EOF
+@@ -1850,8 +1856,18 @@ EOF
EOF
;;
@@ -42,5 +42,17 @@ $NetBSD: patch-ab,v 1.2 2006/01/13 02:02:50 joerg Exp $
+
+ ;;
*sunos*)
- SOUNDSERVER=xgal.sndsrv.sun.c
+- SOUNDSERVER=xgal.sndsrv.sun.c
++ SOUNDSERVER=xgal.sndsrv.sun
cat >> confdefs.h <<\EOF
+ #define SOUNDDEV "/dev/audio"
+ EOF
+@@ -1862,7 +1878,7 @@ EOF
+
+ ;;
+ *solaris*)
+- SOUNDSERVER=xgal.sndsrv.sun.c
++ SOUNDSERVER=xgal.sndsrv.sun
+ cat >> confdefs.h <<\EOF
+ #define SOUNDDEV "/dev/audio"
+ EOF