/[packages]/cauldron/fglrx/current/SOURCES/fglrx-buildfix_kernel_3.12.patch
ViewVC logotype

Annotation of /cauldron/fglrx/current/SOURCES/fglrx-buildfix_kernel_3.12.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 558928 - (hide annotations) (download)
Thu Dec 19 20:15:33 2013 UTC (11 years, 3 months ago) by tmb
File size: 1099 byte(s)
update to 13.251 (Catalyst 13.12)
1 tmb 558928 From 9d55b26a7ab60556141300cac68b3205d1f732c5 Mon Sep 17 00:00:00 2001
2     From: Alberto Milone <alberto.milone@canonical.com>
3     Date: Mon, 4 Nov 2013 20:21:09 +0100
4     Subject: [PATCH 1/1] Add support for Linux 3.12
5    
6     The uid_t that we need is now a struct member of the kuid_t that
7     current_euid() returns.
8     ---
9     common/lib/modules/fglrx/build_mod/firegl_public.c | 5 +++++
10     1 file changed, 5 insertions(+)
11    
12     diff -Nurp fglrx-13.251.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-13.251/common/lib/modules/fglrx/build_mod/firegl_public.c
13     --- fglrx-13.251.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-12-17 21:05:10.000000000 +0200
14     +++ fglrx-13.251/common/lib/modules/fglrx/build_mod/firegl_public.c 2013-12-19 21:59:25.533754309 +0200
15     @@ -1755,7 +1755,12 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(vo
16     KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void)
17     {
18     #ifdef current_euid
19     +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)
20     + kuid_t tmp_kuid = current_euid();
21     + return tmp_kuid.val;
22     +#else
23     return current_euid();
24     +#endif
25     #else
26     return current->euid;
27     #endif

  ViewVC Help
Powered by ViewVC 1.1.30