slackbuilds_ponce/games/xroar/alsa_first.diff
B. Watson 6a8338fa7e games/xroar: Updated for version 0.28.1, cleanups.
Noted the optional dependency gtkglext

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-12-21 21:27:26 +01:00

23 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