diff options
author | lifanov <lifanov@FreeBSD.org> | 2017-05-31 05:08:13 +0800 |
---|---|---|
committer | lifanov <lifanov@FreeBSD.org> | 2017-05-31 05:08:13 +0800 |
commit | 6920999fe1aa30a7317d307acf84a6e54ce6efc8 (patch) | |
tree | 2ef4c4ea30ad9686007bef8ac74fa7f71e04261e /games | |
parent | 27f3b9f74981a1e86da2069e1ed36ac4ac9841ff (diff) | |
download | freebsd-ports-gnome-6920999fe1aa30a7317d307acf84a6e54ce6efc8.tar.gz freebsd-ports-gnome-6920999fe1aa30a7317d307acf84a6e54ce6efc8.tar.zst freebsd-ports-gnome-6920999fe1aa30a7317d307acf84a6e54ce6efc8.zip |
games/stonesoup: actually commit patch to sound.h
Diffstat (limited to 'games')
-rw-r--r-- | games/stonesoup/files/patch-sound.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/stonesoup/files/patch-sound.h b/games/stonesoup/files/patch-sound.h new file mode 100644 index 000000000000..21c90a766030 --- /dev/null +++ b/games/stonesoup/files/patch-sound.h @@ -0,0 +1,19 @@ +--- sound.h.orig 2017-05-30 15:27:57 UTC ++++ sound.h +@@ -19,14 +19,14 @@ + // + // WARNING: 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%%/play -v .5 \"%s\" 2>/dev/null &" + + // Uncomment this to enable playing sounds that play sounds that pause the + // gameplay until they finish. + // + // WARNING: This feature is not fully implemented yet! + // +-//#define HOLD_SOUND_PLAY_COMMAND "/usr/bin/play -v .5 \"%s\" 2>/dev/null" ++%%SOUND%%#define HOLD_SOUND_PLAY_COMMAND "%%LOCALBASE%%/play -v .5 \"%s\" 2>/dev/null" + + + // These are generic queues for playing sounds; they're intended for |