diff options
author | 2007-11-16 06:47:08 +0000 | |
---|---|---|
committer | 2007-11-16 06:47:08 +0000 | |
commit | 1ca968c7fcdd09e6ea578af1ee6fec1516a9579b (patch) | |
tree | 55e8fd16456f08c2ab09ff3b156d9fe290723bc2 /x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch | |
parent | bumping to latest svn (diff) | |
download | je_fro-1ca968c7fcdd09e6ea578af1ee6fec1516a9579b.tar.gz je_fro-1ca968c7fcdd09e6ea578af1ee6fec1516a9579b.tar.bz2 je_fro-1ca968c7fcdd09e6ea578af1ee6fec1516a9579b.zip |
Trying this old one as the new stuff is broken on macbook pro...
svn path=/; revision=112
Diffstat (limited to 'x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch')
-rw-r--r-- | x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch | 17 |
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" |