diff options
author | 2007-08-01 22:12:06 +0000 | |
---|---|---|
committer | 2007-08-01 22:12:06 +0000 | |
commit | 09ab3882862f87660432f620b784407902d7ee3f (patch) | |
tree | 3b3921dcbd242d2a22ff47a10ec604f2f7eb12d7 /x11-drivers/ati-drivers/files | |
parent | Add madwifi svn ebuild intended for macbook pro users. (diff) | |
download | je_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')
3 files changed, 42 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" diff --git a/x11-drivers/ati-drivers/files/ati-powermode-opt-path.patch b/x11-drivers/ati-drivers/files/ati-powermode-opt-path.patch new file mode 100644 index 0000000..fb6119e --- /dev/null +++ b/x11-drivers/ati-drivers/files/ati-powermode-opt-path.patch @@ -0,0 +1,22 @@ +=== modified file 'common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh' +--- common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2007-02-09 12:25:40 +0000 ++++ common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh 2007-02-09 12:28:54 +0000 +@@ -46,7 +46,7 @@ + getXuser; + if [ x"$XAUTHORITY" != x"" ]; then + export DISPLAY=":$displaynum" +- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=1 --effective=now" ++ su $user -c "/opt/bin/aticonfig --set-powerstate=1 --effective=now" + fi + done + else +@@ -56,7 +56,7 @@ + getXuser; + if [ x"$XAUTHORITY" != x"" ]; then + export DISPLAY=":$displaynum" +- su $user -c "/usr/X11R6/bin/aticonfig --set-powerstate=3 --effective=now" ++ su $user -c "/opt/bin/aticonfig --set-powerstate=3 --effective=now" + fi + done + fi + diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.37.6-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.37.6-r1 new file mode 100644 index 0000000..d7bf497 --- /dev/null +++ b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.37.6-r1 @@ -0,0 +1,3 @@ +MD5 ebad4685199a9b3704237bc165de00d4 ati-driver-installer-8.37.6-x86.x86_64.run 53449730 +RMD160 909473365e144281f03d6d7bd65168838ae54526 ati-driver-installer-8.37.6-x86.x86_64.run 53449730 +SHA256 42c607053e616b38b02f87c5734a8191331907f8fa8fa91a7eec41400292608b ati-driver-installer-8.37.6-x86.x86_64.run 53449730 |