diff options
Diffstat (limited to 'x11-drivers/ati-userspace/files/ati-drivers-13.12-acpi.patch')
-rw-r--r-- | x11-drivers/ati-userspace/files/ati-drivers-13.12-acpi.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-drivers/ati-userspace/files/ati-drivers-13.12-acpi.patch b/x11-drivers/ati-userspace/files/ati-drivers-13.12-acpi.patch new file mode 100644 index 00000000..3c568742 --- /dev/null +++ b/x11-drivers/ati-userspace/files/ati-drivers-13.12-acpi.patch @@ -0,0 +1,16 @@ +diff -urN common.old/lib/modules/fglrx/build_mod/kcl_acpi.c common/lib/modules/fglrx/build_mod/kcl_acpi.c +--- common.old/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-27 13:32:34.734832283 +0100 ++++ common/lib/modules/fglrx/build_mod/kcl_acpi.c 2013-12-27 13:33:31.849831765 +0100 +@@ -1002,7 +1002,11 @@ + #endif + { + return KCL_ACPI_ERROR; +- } ++ } ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0) ++ ((acpi_tbl_table_handler)handler)(hdr); ++#else + ((acpi_table_handler)handler)(hdr); ++#endif + return KCL_ACPI_OK; + } |