slackbuilds/games/xroar/alsa_first.diff

24 lines
545 B
Diff

diff -Naur xroar-0.28.1/module.c xroar-0.28.1.patched/module.c
--- xroar-0.28.1/module.c 2012-06-11 12:45:20.000000000 -0400
+++ xroar-0.28.1.patched/module.c 2012-12-18 17:05:59.000000000 -0500
@@ -94,6 +94,9 @@
#ifdef HAVE_SUN_AUDIO
&sound_sun_module,
#endif
+#ifdef HAVE_ALSA_AUDIO
+ &sound_alsa_module,
+#endif
#ifdef HAVE_OSS_AUDIO
&sound_oss_module,
#endif
@@ -108,9 +111,6 @@
#ifdef HAVE_SDL
&sound_sdl_module,
#endif
-#ifdef HAVE_ALSA_AUDIO
- &sound_alsa_module,
-#endif
#ifdef HAVE_JACK_AUDIO
&sound_jack_module,
#endif