summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-02-01 11:53:13 +0000
committerBrian Harring <ferringb@gentoo.org>2004-02-01 11:53:13 +0000
commit2d649c16618fe42d989f4df948ea069185318d85 (patch)
tree1a3de9d1356fb2ebdeeafa05563b6a594a1a740f /media-sound/vkeybd/files
parentclosing 23468 (tcl_version not being abided by during link phase), and 39119 ... (diff)
downloadgentoo-2-2d649c16618fe42d989f4df948ea069185318d85.tar.gz
gentoo-2-2d649c16618fe42d989f4df948ea069185318d85.tar.bz2
gentoo-2-2d649c16618fe42d989f4df948ea069185318d85.zip
closing 23468 (tcl_version not being abided by during link phase), and 39119 (alsa-lib compilation issues w/ 1.0)
Diffstat (limited to 'media-sound/vkeybd/files')
-rw-r--r--media-sound/vkeybd/files/vkeybd-0.1.13-alsa-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/vkeybd/files/vkeybd-0.1.13-alsa-fix.patch b/media-sound/vkeybd/files/vkeybd-0.1.13-alsa-fix.patch
new file mode 100644
index 000000000000..36cf0d266701
--- /dev/null
+++ b/media-sound/vkeybd/files/vkeybd-0.1.13-alsa-fix.patch
@@ -0,0 +1,19 @@
+diff -ur vkeybd/oper_alsa.c vkeybd-fixed/oper_alsa.c
+--- vkeybd/oper_alsa.c 2003-01-23 10:02:05.000000000 -0600
++++ vkeybd-fixed/oper_alsa.c 2004-01-23 01:01:22.000000000 -0600
+@@ -30,10 +30,14 @@
+ #ifdef USE_OLD_ALSA
+ #include <sys/asoundlib.h>
+ #else
++#include <alsa/version.h>
++# if SND_LIB_MAJOR==1
++# define ALSA_PCM_OLD_HW_PARAMS_API
++# endif
+ #include <alsa/asoundlib.h>
+ #endif
+
+-#if SND_LIB_MINOR >= 6
++#if SND_LIB_MINOR >= 6 || SND_LIB_MAJOR > 0
+ #define snd_seq_flush_output(x) snd_seq_drain_output(x)
+ #define snd_seq_set_client_group(x,name) /*nop*/
+ #define my_snd_seq_open(seqp) snd_seq_open(seqp, "hw", SND_SEQ_OPEN_OUTPUT, 0)