summaryrefslogtreecommitdiff
path: root/games/stonesoup/files/patch-AppHdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/stonesoup/files/patch-AppHdr.h')
-rw-r--r--games/stonesoup/files/patch-AppHdr.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/stonesoup/files/patch-AppHdr.h b/games/stonesoup/files/patch-AppHdr.h
new file mode 100644
index 000000000000..5541c983fc4f
--- /dev/null
+++ b/games/stonesoup/files/patch-AppHdr.h
@@ -0,0 +1,22 @@
+--- AppHdr.h.orig 2008-07-14 04:17:51.000000000 +0200
++++ AppHdr.h 2008-07-17 10:34:43.000000000 +0200
+@@ -146,7 +146,7 @@
+ // setuid or setgid. Filenames passed to this command *are not
+ // validated in any way*.
+ //
+- // #define SOUND_PLAY_COMMAND "/usr/bin/play -v .5 %s 2>/dev/null &"
++ %%SOUND%%#define SOUND_PLAY_COMMAND "%%LOCALBASE%%/bin/play -v .5 %s 2>/dev/null &"
+
+ // For cases when the game will be played on terms that don't support the
+ // curses "bold == lighter" 16 colour mode. -- bwr
+@@ -408,8 +408,8 @@
+ // PACKAGE_SUFFIX is used when the package file name is needed
+ //
+ // Comment these lines out if you want to leave the save files uncompressed.
+- #define SAVE_PACKAGE_CMD "/usr/bin/zip -m -q -j -1 %s.zip %s.*"
+- #define LOAD_UNPACKAGE_CMD "/usr/bin/unzip -q -o %s.zip -d %s"
++ // #define SAVE_PACKAGE_CMD "/usr/bin/zip -m -q -j -1 %s.zip %s.*"
++ // #define LOAD_UNPACKAGE_CMD "/usr/bin/unzip -q -o %s.zip -d %s"
+
+ #ifdef SAVE_PACKAGE_CMD
+ // This is used to unpack specific files from the archive.