summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-02-01 12:59:40 +0000
committerBrian Harring <ferringb@gentoo.org>2004-02-01 12:59:40 +0000
commit375ef52dd7e0ca9f215433ae5fda0b1336f3b135 (patch)
tree6989076b09778b23cde3fdcb532ea4bbb62815c0 /media-sound/jack-audio-connection-kit/files
parentAlsalib-1.0 compilation fix (39902). (diff)
downloadgentoo-2-375ef52dd7e0ca9f215433ae5fda0b1336f3b135.tar.gz
gentoo-2-375ef52dd7e0ca9f215433ae5fda0b1336f3b135.tar.bz2
gentoo-2-375ef52dd7e0ca9f215433ae5fda0b1336f3b135.zip
Alsalib-1.0.* compilation fix (39095).
Diffstat (limited to 'media-sound/jack-audio-connection-kit/files')
-rw-r--r--media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.80.0-alsalib-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.80.0-alsalib-fix.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.80.0-alsalib-fix.patch
new file mode 100644
index 000000000000..9e92d1212cac
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.80.0-alsalib-fix.patch
@@ -0,0 +1,14 @@
+diff -ur jack-audio-connection-kit-0.80.0/drivers/alsa/alsa_driver.h jack-audio-connection-kit-0.80.0-fixed/drivers/alsa/alsa_driver.h
+--- jack-audio-connection-kit-0.80.0/drivers/alsa/alsa_driver.h 2003-08-28 19:06:30.000000000 -0500
++++ jack-audio-connection-kit-0.80.0-fixed/drivers/alsa/alsa_driver.h 2004-01-22 21:08:30.000000000 -0600
+@@ -21,6 +21,10 @@
+ #ifndef __jack_alsa_driver_h__
+ #define __jack_alsa_driver_h__
+
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include <alsa/asoundlib.h>
+
+ #include <jack/types.h>