diff options
author | Hanno Boeck <hanno@gentoo.org> | 2003-09-24 09:55:25 +0000 |
---|---|---|
committer | Hanno Boeck <hanno@gentoo.org> | 2003-09-24 09:55:25 +0000 |
commit | b6b70ad1ca498ac599a66c0e48929c5b2e82da72 (patch) | |
tree | 9faa846b86d533b2c199de627aa8090ae3aeafec /media-sound/alsa-driver/files | |
parent | Applied patch from Sven Blumenstein <me@pl4.net> to fix sparc and hppa compil... (diff) | |
download | historical-b6b70ad1ca498ac599a66c0e48929c5b2e82da72.tar.gz historical-b6b70ad1ca498ac599a66c0e48929c5b2e82da72.tar.bz2 historical-b6b70ad1ca498ac599a66c0e48929c5b2e82da72.zip |
ad compile fix for 2.4.23-pre-kernels to alsa-driver
Diffstat (limited to 'media-sound/alsa-driver/files')
-rw-r--r-- | media-sound/alsa-driver/files/alsa-compile-fix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/alsa-driver/files/alsa-compile-fix b/media-sound/alsa-driver/files/alsa-compile-fix new file mode 100644 index 000000000000..846bdb37fa24 --- /dev/null +++ b/media-sound/alsa-driver/files/alsa-compile-fix @@ -0,0 +1,15 @@ +diff -ru alsa-driver-0.9.6.orig/include/adriver.h alsa-driver-0.9.6/include/adriver.h +--- alsa-driver-0.9.6.orig/include/adriver.h 2003-09-10 15:22:02.000000000 +0200 ++++ alsa-driver-0.9.6/include/adriver.h 2003-09-10 15:28:30.000000000 +0200 +@@ -193,7 +193,10 @@ + #undef synchronize_irq + #define synchronize_irq(irq) synchronize_irq_wrapper(irq) + #endif /* LINUX_VERSION_CODE < 2.5.28 */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 68) && !defined(WE_ARE_WOLKS) ++#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 68) \ ++ && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0)) \ ++ || LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 23)) \ ++ && !defined(WE_ARE_WOLKS) + #define IRQ_NONE /*void*/ + #define IRQ_HANDLED /*void*/ + #define IRQ_RETVAL(x) /*void*/ |