summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-29 09:24:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-29 09:24:46 +0000
commitd96bb40b50bf6aa6648a5bff3c20585f1f2d4c33 (patch)
treea27b0a359c4d201911c7101b90d3dce0374eea09 /games-fps/quakeforge/files
parentneed eutils for epatch (diff)
downloadgentoo-2-d96bb40b50bf6aa6648a5bff3c20585f1f2d4c33.tar.gz
gentoo-2-d96bb40b50bf6aa6648a5bff3c20585f1f2d4c33.tar.bz2
gentoo-2-d96bb40b50bf6aa6648a5bff3c20585f1f2d4c33.zip
add alsa patch #39109
Diffstat (limited to 'games-fps/quakeforge/files')
-rw-r--r--games-fps/quakeforge/files/0.5.4-alsa.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/games-fps/quakeforge/files/0.5.4-alsa.patch b/games-fps/quakeforge/files/0.5.4-alsa.patch
new file mode 100644
index 000000000000..9bde50b38f63
--- /dev/null
+++ b/games-fps/quakeforge/files/0.5.4-alsa.patch
@@ -0,0 +1,27 @@
+diff -ur quakeforge-0.5.4/configure quakeforge-0.5.4-fixed/configure
+--- quakeforge-0.5.4/configure 2003-07-17 21:25:53.000000000 -0500
++++ quakeforge-0.5.4-fixed/configure 2004-01-22 23:20:32.000000000 -0600
+@@ -17032,7 +17032,7 @@
+
+ #include <sys/asoundlib.h>
+ #if defined(SND_LIB_MAJOR) && defined(SND_LIB_MINOR)
+-#if SND_LIB_MAJOR > 0 || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5)
++#if SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5
+ QF_maGiC_VALUE
+ #endif
+ #endif
+diff -ur quakeforge-0.5.4/libs/audio/targets/snd_alsa_0_9.c quakeforge-0.5.4-fixed/libs/audio/targets/snd_alsa_0_9.c
+--- quakeforge-0.5.4/libs/audio/targets/snd_alsa_0_9.c 2003-04-14 21:34:17.000000000 -0500
++++ quakeforge-0.5.4-fixed/libs/audio/targets/snd_alsa_0_9.c 2004-01-22 23:18:36.000000000 -0600
+@@ -34,6 +34,11 @@
+
+ #include <stdio.h>
+ #include <dlfcn.h>
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#define ALSA_PCM_NEW_HW_PARAMS_API
++#endif
+ #include <alsa/asoundlib.h>
+
+ #include "QF/cvar.h"