openbsd-ports/devel/sdl-mixer/patches/patch-music_c

17 lines
417 B
Plaintext

$OpenBSD: patch-music_c,v 1.1 2005/07/06 05:04:58 jolan Exp $
--- music.c.orig Tue Jul 5 23:57:06 2005
+++ music.c Tue Jul 5 23:57:16 2005
@@ -391,8 +391,11 @@ int open_music(SDL_AudioSpec *mixer)
#endif
#ifdef LIBMIKMOD_MUSIC
if(!MikMod_InfoDriver())
-#endif
+ MikMod_RegisterDriver(&drv_nos);
+#else
MikMod_RegisterAllDrivers();
+#endif
+
#ifdef LIBMIKMOD_MUSIC
if(!MikMod_InfoLoader())
#endif