aboutsummaryrefslogtreecommitdiff
path: root/games/xroar/alsa_first.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/xroar/alsa_first.diff')
-rw-r--r--games/xroar/alsa_first.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/xroar/alsa_first.diff b/games/xroar/alsa_first.diff
new file mode 100644
index 0000000000000..ea726927d2644
--- /dev/null
+++ b/games/xroar/alsa_first.diff
@@ -0,0 +1,23 @@
+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