summarylogtreecommitdiffstats
path: root/cold-fglrx-3.14-current_euid.patch
diff options
context:
space:
mode:
authorVi0L02015-06-08 20:49:00 +0200
committerVi0L02015-06-08 20:49:00 +0200
commitf21a19f33a6159ee32a78f674490f08bcbb4d76a (patch)
tree7b87b0bd995f33843b8c4ce1c08c5e650bd52b3d /cold-fglrx-3.14-current_euid.patch
downloadaur-f21a19f33a6159ee32a78f674490f08bcbb4d76a.tar.gz
Initial import
Diffstat (limited to 'cold-fglrx-3.14-current_euid.patch')
-rw-r--r--cold-fglrx-3.14-current_euid.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/cold-fglrx-3.14-current_euid.patch b/cold-fglrx-3.14-current_euid.patch
new file mode 100644
index 000000000000..77bfe2565492
--- /dev/null
+++ b/cold-fglrx-3.14-current_euid.patch
@@ -0,0 +1,14 @@
+--- 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:26:52.215995002 +0100
++++ 14.1/common/lib/modules/fglrx/build_mod/firegl_public.c 2014-02-23 19:27:59.320999596 +0100
+@@ -1761,7 +1761,11 @@
+ #else
+
+ #ifdef current_euid
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
++ return __kuid_val(current_euid());
++#else
+ return current_euid();
++#endif
+ #else
+ return current->euid;
+ #endif