summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-08-01 22:12:06 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-08-01 22:12:06 +0000
commit09ab3882862f87660432f620b784407902d7ee3f (patch)
tree3b3921dcbd242d2a22ff47a10ec604f2f7eb12d7 /x11-drivers/ati-drivers/files/8.37.6
parentAdd madwifi svn ebuild intended for macbook pro users. (diff)
downloadje_fro-09ab3882862f87660432f620b784407902d7ee3f.tar.gz
je_fro-09ab3882862f87660432f620b784407902d7ee3f.tar.bz2
je_fro-09ab3882862f87660432f620b784407902d7ee3f.zip
Testing ioctl patch for 2.6.22 kernels.
svn path=/; revision=7
Diffstat (limited to 'x11-drivers/ati-drivers/files/8.37.6')
-rw-r--r--x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch b/x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch
new file mode 100644
index 0000000..25d5883
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch
@@ -0,0 +1,17 @@
+--- common-orig/lib/modules/fglrx/build_mod/firegl_public.c 2007-08-01 16:58:40.000000000 -0500
++++ common/lib/modules/fglrx/build_mod/firegl_public.c 2007-08-01 16:57:11.000000000 -0500
+@@ -144,12 +144,14 @@
+ #define EXPORT_NO_SYMBOLS
+ #endif
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+ #ifdef __x86_64__
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
+ #include "linux/ioctl32.h"
+ #else
+ #include "asm/ioctl32.h"
+ #endif
++#endif
+
+ #ifdef __x86_64__
+ #include "asm/compat.h"