diff options
Diffstat (limited to 'games/urban/files/patch-src::sound::sound.cc')
-rw-r--r-- | games/urban/files/patch-src::sound::sound.cc | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/games/urban/files/patch-src::sound::sound.cc b/games/urban/files/patch-src::sound::sound.cc index fe9d1e008969..b06287da8604 100644 --- a/games/urban/files/patch-src::sound::sound.cc +++ b/games/urban/files/patch-src::sound::sound.cc @@ -1,11 +1,10 @@ ---- src/sound/sound.cc.orig Sun Jan 25 03:58:51 2004 -+++ src/sound/sound.cc Sun Jan 25 04:00:00 2004 -@@ -90,7 +90,7 @@ - md_mode = DMODE_SOFT_SNDFX | DMODE_SOFT_MUSIC | DMODE_16BITS; - md_mixfreq = 22050; - -- if(MikMod_Init()) { -+ if(MikMod_Init(NULL)) { - fprintf(stderr,"Could not initialize sound, reason: %s\n", - MikMod_strerror(MikMod_errno)); - +--- src/sound/sound.cc.orig Tue Dec 14 06:29:12 2004 ++++ src/sound/sound.cc Tue Dec 14 06:29:21 2004 +@@ -28,6 +28,7 @@ + + thomas.nyberg@usa.net jonas_b@bitsmart.com + *****************************************************************************/ ++#include <unistd.h> + #include <allegro.h> + #ifdef DJGPP + #include <jgmod.h> |