aboutsummaryrefslogtreecommitdiffstats
path: root/games/alephone
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-08-13 05:04:31 +0800
committerpav <pav@FreeBSD.org>2006-08-13 05:04:31 +0800
commit1ac9c95f043ab3aab6f15307f7eecfc7adcabb32 (patch)
treeb2799232101e450a7d273cb9e2c40193898f1637 /games/alephone
parent028fccd5f62a9c64d3b675426c1fbf5db8c15b7d (diff)
downloadfreebsd-ports-gnome-1ac9c95f043ab3aab6f15307f7eecfc7adcabb32.tar.gz
freebsd-ports-gnome-1ac9c95f043ab3aab6f15307f7eecfc7adcabb32.tar.zst
freebsd-ports-gnome-1ac9c95f043ab3aab6f15307f7eecfc7adcabb32.zip
- Update to 20060701
PR: ports/101922 Submitted by: Raymond Pasco <ray@cultofray.net>
Diffstat (limited to 'games/alephone')
-rw-r--r--games/alephone/files/patch-Source_Files__Sound__sound_sdl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h b/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h
new file mode 100644
index 000000000000..460b69380aa9
--- /dev/null
+++ b/games/alephone/files/patch-Source_Files__Sound__sound_sdl.h
@@ -0,0 +1,10 @@
+--- Source_Files/Sound/sound_sdl.h.orig Sat Aug 12 09:43:24 2006
++++ Source_Files/Sound/sound_sdl.h Sat Aug 12 09:44:25 2006
+@@ -346,6 +346,7 @@
+ #ifdef MUSIC_SDL
+ bool load_music_sdl(FileSpecifier &song_file)
+ {
++ if (!_sm_initialized || !_sm_active) return false;
+ sdl_channel *c = sdl_channels + MUSIC_CHANNEL; // Music channel
+ uint32 music_sample_rate; // Music sample rate in Hz
+