diff -Nru fglrx-installer-13.350.1/debian/changelog fglrx-installer-13.350.1/debian/changelog --- fglrx-installer-13.350.1/debian/changelog 2014-03-19 10:25:57.000000000 +0000 +++ fglrx-installer-13.350.1/debian/changelog 2014-04-04 14:49:51.000000000 +0000 @@ -1,3 +1,11 @@ +fglrx-installer (2:13.350.1-0ubuntu2) trusty; urgency=medium + + * debian/dkms.conf.in, + debian/dkms/patches/buildfix_kernel_3.14.patch: + - Add support for Linux 3.14. + + -- Alberto Milone Fri, 04 Apr 2014 16:45:37 +0200 + fglrx-installer (2:13.350.1-0ubuntu1) trusty; urgency=medium * New upstream release (14.3): diff -Nru fglrx-installer-13.350.1/debian/dkms/patches/buildfix_kernel_3.14.patch fglrx-installer-13.350.1/debian/dkms/patches/buildfix_kernel_3.14.patch --- fglrx-installer-13.350.1/debian/dkms/patches/buildfix_kernel_3.14.patch 1970-01-01 00:00:00.000000000 +0000 +++ fglrx-installer-13.350.1/debian/dkms/patches/buildfix_kernel_3.14.patch 2014-04-04 14:46:15.000000000 +0000 @@ -0,0 +1,25 @@ +From 5f35de9aa010050f229b0ea1cbd6cfe18cc9a3c6 Mon Sep 17 00:00:00 2001 +From: Alberto Milone +Date: Thu, 3 Apr 2014 15:38:52 +0200 +Subject: [PATCH 1/1] Add support for Linux 3.14 + +--- + firegl_public.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/firegl_public.c b/firegl_public.c +index 5eb2506..353cc0a 100755 +--- a/firegl_public.c ++++ b/firegl_public.c +@@ -1756,7 +1756,7 @@ KCL_TYPE_Pid ATI_API_CALL KCL_GetTgid(void) + */ + KCL_TYPE_Uid ATI_API_CALL KCL_GetEffectiveUid(void) + { +-#ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS ++#if defined(CONFIG_UIDGID_STRICT_TYPE_CHECKS) || LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0) + return __kuid_val(current_euid()); + #else + +-- +1.9.1 + diff -Nru fglrx-installer-13.350.1/debian/dkms.conf.in fglrx-installer-13.350.1/debian/dkms.conf.in --- fglrx-installer-13.350.1/debian/dkms.conf.in 2014-03-19 10:24:36.000000000 +0000 +++ fglrx-installer-13.350.1/debian/dkms.conf.in 2014-04-04 14:49:51.000000000 +0000 @@ -6,9 +6,8 @@ MAKE[0]="cd ${dkms_tree}/fglrx/#CVERSION#/build; sh make.sh --nohints --uname_r=$kernelver --norootcheck" DEST_MODULE_LOCATION[0]="/kernel/drivers/char/drm" AUTOINSTALL="yes" -#PATCH[0]="replace_old_procfs_calls.patch" #PATCH_MATCH[0]="^3.1[0-4]" -#PATCH[0]="buildfix_kernel_3.12.patch" +PATCH[0]="buildfix_kernel_3.14.patch" #PATCH[2]="buildfix_kernel_3.13.patch" #PATCH[1]="replace-archdata.acpi_handle-with-acpi_node.handle.patch" #PATCH[1]="replace-do_mmap-and-do_munmap-with-vm_mmap-and-vm_mu.patch"