The guys at Suse has published a patch.
diff -rup fglrx.orig/firegl_public.c fglrx/firegl_public.c --- fglrx.orig/firegl_public.c 2013-12-20 01:37:15.155648294 +0100 +++ fglrx/firegl_public.c 2013-12-21 01:02:47.201517242 +0100 @@ -1754,11 +1754,17 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(vo */ KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void) { +#ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS + return __kuid_val(current_euid()); +#else + #ifdef current_euid return current_euid(); #else return current->euid; #endif + +#endif }
/** /brief Delay execution for the specified number of microseconds diff -rup fglrx.orig/kcl_acpi.c fglrx/kcl_acpi.c --- fglrx.orig/kcl_acpi.c 2013-12-20 01:13:55.000000000 +0100 +++ fglrx/kcl_acpi.c 2013-12-21 01:06:00.158734992 +0100 @@ -792,7 +792,9 @@ static unsigned int KCL_ACPI_SearchHandl unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo) { #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12) - #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0) + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0) + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion; + #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0) pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle; #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19) pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle; @@ -996,6 +998,10 @@ int ATI_API_CALL KCL_ACPI_ParseTable(cha { return KCL_ACPI_ERROR; } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1) + ((acpi_tbl_table_handler)handler)(hdr); +#else ((acpi_table_handler)handler)(hdr); +#endif return KCL_ACPI_OK; }
thread: http://forums.opensuse.org/showthread.php/493913-ATI-Proprietary-driver-13-12-installation-fails-in-openSUSE-13-1
The guys at Suse has published a patch.
diff -rup fglrx.orig/ firegl_ public. c fglrx/firegl_ public. c firegl_ public. c 2013-12-20 01:37:15.155648294 +0100 public. c 2013-12-21 01:02:47.201517242 +0100 eUid(void) UIDGID_ STRICT_ TYPE_CHECKS val(current_ euid()) ;
--- fglrx.orig/
+++ fglrx/firegl_
@@ -1754,11 +1754,17 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(vo
*/
KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiv
{
+#ifdef CONFIG_
+ return __kuid_
+#else
+
#ifdef current_euid
return current_euid();
#else
return current->euid;
#endif
+
+#endif
}
/** /brief Delay execution for the specified number of microseconds kcl_acpi. c fglrx/kcl_acpi.c kcl_acpi. c 2013-12-20 01:13:55.000000000 +0100 SearchHandl GetHandles( kcl_match_ info_t *pInfo) VERSION( 2,6,12) VERSION( 3,8,0) VERSION( 3,13,0) pcidev- >dev.acpi_ node.companion; VERSION( 3,8,0)
pInfo- >video_ handle = pInfo-> pcidev- >dev.acpi_ node.handle; VERSION( 2,6,19)
pInfo- >video_ handle = pInfo-> pcidev- >dev.archdata. acpi_handle; ParseTable( cha VERSION( 3,9,1) tbl_table_ handler) handler) (hdr); acpi_table_ handler) handler) (hdr);
diff -rup fglrx.orig/
--- fglrx.orig/
+++ fglrx/kcl_acpi.c 2013-12-21 01:06:00.158734992 +0100
@@ -792,7 +792,9 @@ static unsigned int KCL_ACPI_
unsigned int ATI_API_CALL KCL_ACPI_
{
#if LINUX_VERSION_CODE > KERNEL_
- #if LINUX_VERSION_CODE >= KERNEL_
+ #if LINUX_VERSION_CODE >= KERNEL_
+ pInfo->video_handle = pInfo->
+ #elif LINUX_VERSION_CODE >= KERNEL_
#elif LINUX_VERSION_CODE > KERNEL_
@@ -996,6 +998,10 @@ int ATI_API_CALL KCL_ACPI_
{
return KCL_ACPI_ERROR;
}
+#if LINUX_VERSION_CODE >= KERNEL_
+ ((acpi_
+#else
((
+#endif
return KCL_ACPI_OK;
}
thread: http:// forums. opensuse. org/showthread. php/493913- ATI-Proprietary -driver- 13-12-installat ion-fails- in-openSUSE- 13-1