summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-drivers/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/files')
-rw-r--r--x11-drivers/ati-drivers/files/ati-drivers-14.4-acpi.patch12
-rw-r--r--x11-drivers/ati-drivers/files/fgl_glxgears-do-not-include-glATI.patch11
2 files changed, 23 insertions, 0 deletions
diff --git a/x11-drivers/ati-drivers/files/ati-drivers-14.4-acpi.patch b/x11-drivers/ati-drivers/files/ati-drivers-14.4-acpi.patch
new file mode 100644
index 00000000..0295307d
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/ati-drivers-14.4-acpi.patch
@@ -0,0 +1,12 @@
+--- work.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c
++++ work/common/lib/modules/fglrx/build_mod/kcl_acpi.c
+@@ -981,7 +981,7 @@ int ATI_API_CALL KCL_ACPI_ParseTable(cha
+ {
+ return KCL_ACPI_ERROR;
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
+ ((acpi_tbl_table_handler)handler)(hdr);
+ #else
+ ((acpi_table_handler)handler)(hdr);
+
diff --git a/x11-drivers/ati-drivers/files/fgl_glxgears-do-not-include-glATI.patch b/x11-drivers/ati-drivers/files/fgl_glxgears-do-not-include-glATI.patch
new file mode 100644
index 00000000..d46e027c
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/fgl_glxgears-do-not-include-glATI.patch
@@ -0,0 +1,11 @@
+diff -Nur extra/fgl_glxgears/fgl_glxgears.c extra-r1/fgl_glxgears/fgl_glxgears.c
+--- extra/fgl_glxgears/fgl_glxgears.c 2012-08-29 09:59:03.000000000 +0300
++++ extra-r1/fgl_glxgears/fgl_glxgears.c 2013-09-07 09:26:11.034723135 +0300
+@@ -78,7 +78,6 @@
+ #endif // _WIN32
+
+ #define INT_PTR ptrdiff_t
+-#include <GL/glATI.h>
+
+ #ifdef _WIN32
+ #include <GL/wglATI.h>