Date: Tue, 30 May 2017 21:08:13 +0000 (UTC) From: Nikolai Lifanov <lifanov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442125 - head/games/stonesoup/files Message-ID: <201705302108.v4UL8DtH034817@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lifanov Date: Tue May 30 21:08:13 2017 New Revision: 442125 URL: https://svnweb.freebsd.org/changeset/ports/442125 Log: games/stonesoup: actually commit patch to sound.h Added: head/games/stonesoup/files/patch-sound.h (contents, props changed) Added: head/games/stonesoup/files/patch-sound.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/stonesoup/files/patch-sound.h Tue May 30 21:08:13 2017 (r442125) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705302108.v4UL8DtH034817>