diff options
author | Jascha Geerds <jg@ekby.de> | 2014-12-10 21:12:54 +0100 |
---|---|---|
committer | Jascha Geerds <jg@ekby.de> | 2014-12-10 21:12:54 +0100 |
commit | 3525f7135f9e7ce532facf815c4132b2d9fb7d95 (patch) | |
tree | 5eff9487157f22c461f9999bba6c9da23e585603 /pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch | |
parent | 0b1d16cff2db61def2df4576f3d999ed115859ba (diff) | |
download | nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar.gz nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar.bz2 nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar.lz nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar.xz nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.tar.zst nixlib-3525f7135f9e7ce532facf815c4132b2d9fb7d95.zip |
ati-driver: Bump version to 14.12
Diffstat (limited to 'pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch')
-rw-r--r-- | pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch b/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch deleted file mode 100644 index fd1d12cccb62..000000000000 --- a/pkgs/os-specific/linux/ati-drivers/gentoo-patches.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c -index d3ad3ce..9362b58 100755 ---- a/common/lib/modules/fglrx/build_mod/firegl_public.c -+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c -@@ -34,6 +34,11 @@ - #include <linux/autoconf.h> - #endif - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) -+#include <linux/uidgid.h> -+#endif -+ -+ - #if !defined(CONFIG_X86) - #if !defined(CONFIG_X86_PC) - #if !defined(CONFIG_X86_XEN) -@@ -1543,9 +1548,17 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(void) - KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void) - { - #ifdef current_euid -+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) -+ return __kuid_val(current_euid()); -+# else - return current_euid(); -+# endif - #else -+# if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) -+ return __kuid_val(current->euid); -+# else - return current->euid; -+# endif - #endif - } |