--- SDL_mixer-1.2.5.orig/configure.in 2003-02-04 20:59:41.000000000 +0000 +++ SDL_mixer-1.2.5/configure.in 2004-05-23 20:14:34.246131384 +0000 @@ -108,7 +108,7 @@ , enable_music_mod=yes) if test x$enable_music_mod = xyes; then CFLAGS="$CFLAGS -DMOD_MUSIC -I\$(top_srcdir)/mikmod" - MUSIC_SUBDIRS="$MUSIC_SUBDIRS mikmod" + SYSTEM_LIBS="$SYSTEM_LIBS -lmikmod" fi AC_ARG_ENABLE(music-midi, [ --enable-music-midi enable MIDI music via timidity [default=yes]], --- SDL_mixer-1.2.5.orig/Makefile.am 2003-02-09 00:14:39.000000000 +0000 +++ SDL_mixer-1.2.5/Makefile.am 2004-05-23 20:17:16.856410864 +0000 @@ -3,7 +3,7 @@ lib_LTLIBRARIES = libSDL_mixer.la SUBDIRS = @MUSIC_SUBDIRS@ -DIST_SUBDIRS = mikmod timidity native_midi native_midi_gpl +DIST_SUBDIRS = timidity native_midi native_midi_gpl libSDL_mixerincludedir = $(includedir)/SDL libSDL_mixerinclude_HEADERS = \ @@ -29,11 +29,6 @@ effects_internal.c \ effects_internal.h -if USE_MIKMOD -MIKMOD_LIB = mikmod/libmikmod.la -else -MIKMOD_LIB = -endif if USE_TIMIDITY TIMIDITY_LIB = timidity/libtimidity.la else @@ -62,7 +57,7 @@ libSDL_mixer_la_LDFLAGS = \ -release $(LT_RELEASE) \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -libSDL_mixer_la_LIBADD = $(MIKMOD_LIB) $(TIMIDITY_LIB) $(NATIVE_MIDI_LIB) @SYSTEM_LIBS@ @SDL_LIBS@ +libSDL_mixer_la_LIBADD = $(TIMIDITY_LIB) $(NATIVE_MIDI_LIB) @SYSTEM_LIBS@ @SDL_LIBS@ noinst_PROGRAMS = playwave playmus --- SDL_mixer-1.2.5.orig/music.c.orig 2004-05-23 18:41:25.760726312 -0400 +++ SDL_mixer-1.2.5/music.c 2004-05-23 18:43:37.272733448 -0400 @@ -1058,4 +1058,7 @@ } +static int _pl_synchro_value; +#define Player_SetSynchroValue(x) _pl_synchro_value=x; +#define Player_GetSynchroValue() _pl_synchro_value; int Mix_SetSynchroValue(int i) { @@ -1110,8 +1111,8 @@ #endif #ifdef MOD_MUSIC MikMod_Exit(); - MikMod_UnregisterAllLoaders(); - MikMod_UnregisterAllDrivers(); +// MikMod_UnregisterAllLoaders(); +// MikMod_UnregisterAllDrivers(); #endif }