summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-09-20 06:56:51 +0000
committernia <nia@pkgsrc.org>2022-09-20 06:56:51 +0000
commita7604b5cd658dbff10a28fa642c9f5041bb30636 (patch)
treec6e21377a7e009073e5c70d5e1d9a90f823a7968
parent13dace43d4064234ffd25e2aa36bd01970a13410 (diff)
downloadpkgsrc-a7604b5cd658dbff10a28fa642c9f5041bb30636.tar.gz
xgalaga: Ensure sound server is installed to /libexec regardless of OS
-rw-r--r--games/xgalaga/distinfo4
-rw-r--r--games/xgalaga/patches/patch-configure38
2 files changed, 39 insertions, 3 deletions
diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo
index 973fbb81a52..00575fa3939 100644
--- a/games/xgalaga/distinfo
+++ b/games/xgalaga/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 10:44:33 nia Exp $
+$NetBSD: distinfo,v 1.17 2022/09/20 06:56:51 nia Exp $
BLAKE2s (xgalaga-2.1.1.0.tar.gz) = 8fa8e2d881763255bf39f7e598456718d1bf362607737b9bab5c1a1b9a1630b2
SHA512 (xgalaga-2.1.1.0.tar.gz) = 087db9e0501cedb042bb673a217f9de32640d3e4f4f529a29fd25ed682a1aece9ae1beacdc2ee77fc93ac931411a1051e2cd19873578ccffe5f03a083bffe513
Size (xgalaga-2.1.1.0.tar.gz) = 331621 bytes
SHA1 (patch-Makefile.in) = f8eacc067c760dd5071fc9799a4587c6ee2b0a2c
-SHA1 (patch-configure) = 695098c4ea95139496d2dfb76dcf7164943c3f64
+SHA1 (patch-configure) = 5b72e28930cffd1dc0ab050a044e280e66713519
SHA1 (patch-main.c) = a2743012bd84882c728f90990a1ec586273724ba
SHA1 (patch-title.c) = cd94537f8ebcedf737af4208686f80bb42da00e7
diff --git a/games/xgalaga/patches/patch-configure b/games/xgalaga/patches/patch-configure
index 7a12c30d110..bf9c23aa9e2 100644
--- a/games/xgalaga/patches/patch-configure
+++ b/games/xgalaga/patches/patch-configure
@@ -1,9 +1,45 @@
-$NetBSD: patch-configure,v 1.1 2020/11/20 13:50:23 nia Exp $
+$NetBSD: patch-configure,v 1.2 2022/09/20 06:56:51 nia Exp $
Correct installation paths.
--- configure.orig 2008-03-05 21:58:16.000000000 +0000
+++ configure
+@@ -4582,7 +4582,7 @@ cat >>confdefs.h <<\_ACEOF
+ #define SOUNDDEV "/dev/dsp"
+ _ACEOF
+
+- SOUNDSRVDIR=""
++ SOUNDSRVDIR="/libexec"
+
+ cat >>confdefs.h <<\_ACEOF
+ #define SOUND 1
+@@ -4595,7 +4595,7 @@ _ACEOF
+ #define SOUNDDEV "/dev/dsp"
+ _ACEOF
+
+- SOUNDSRVDIR=""
++ SOUNDSRVDIR="/libexec"
+ cat >>confdefs.h <<\_ACEOF
+ #define SOUND 1
+ _ACEOF
+@@ -4619,7 +4619,7 @@ _ACEOF
+ #define SOUNDDEV "/dev/audio"
+ _ACEOF
+
+- SOUNDSRVDIR=""
++ SOUNDSRVDIR="/libexec"
+ cat >>confdefs.h <<\_ACEOF
+ #define SOUND 1
+ _ACEOF
+@@ -4631,7 +4631,7 @@ _ACEOF
+ #define SOUNDDEV "/dev/audio"
+ _ACEOF
+
+- SOUNDSRVDIR=""
++ SOUNDSRVDIR="/libexec"
+ cat >>confdefs.h <<\_ACEOF
+ #define SOUND 1
+ _ACEOF
@@ -4664,10 +4664,10 @@ cat >>confdefs.h <<_ACEOF
_ACEOF