[Pkg-fglrx-devel] r1496 - in fglrx-driver/trunk/debian: . patches

Patrick Matthäi pmatthaei at moszumanska.debian.org
Tue Sep 1 08:12:33 UTC 2015


Author: pmatthaei
Date: 2015-09-01 08:12:32 +0000 (Tue, 01 Sep 2015)
New Revision: 1496

Added:
   fglrx-driver/trunk/debian/patches/06-4.0.0-build-2.patch
Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/patches/series
Log:
 * Add Ubuntu patch 06-4.0.0-build-2.


Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2015-08-11 22:36:06 UTC (rev 1495)
+++ fglrx-driver/trunk/debian/changelog	2015-09-01 08:12:32 UTC (rev 1496)
@@ -1,9 +1,13 @@
 fglrx-driver (1:15.7-2) UNRELEASED; urgency=medium
 
+  [ Andreas Beckmann ]
   * Drop libxvbaw-dev package.
   * fglrx-driver, fglrx-kernel-*: Report in the package description the latest
     tested Linux version that can build the kernel module.
 
+  [ Patrick Matthäi ]
+  * Add Ubuntu patch 06-4.0.0-build-2.
+
  -- Andreas Beckmann <anbe at debian.org>  Tue, 11 Aug 2015 23:48:01 +0200
 
 fglrx-driver (1:15.7-1) unstable; urgency=medium

Added: fglrx-driver/trunk/debian/patches/06-4.0.0-build-2.patch
===================================================================
--- fglrx-driver/trunk/debian/patches/06-4.0.0-build-2.patch	                        (rev 0)
+++ fglrx-driver/trunk/debian/patches/06-4.0.0-build-2.patch	2015-09-01 08:12:32 UTC (rev 1496)
@@ -0,0 +1,34 @@
+From 9029e189f8431a39146ac3477c7e4491e06c6f4b Mon Sep 17 00:00:00 2001
+From: Alberto Milone <alberto.milone at canonical.com>
+Date: Thu, 4 Jun 2015 18:03:39 +0200
+Subject: [PATCH 1/1] Add support for Linux 4.0
+
+diff -Naur fglrx-driver-15.7.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-15.7/common/lib/modules/fglrx/build_mod/firegl_public.c
+--- fglrx-driver-15.7.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-01 09:46:47.000000000 +0200
++++ fglrx-driver-15.7/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-01 09:53:53.749349870 +0200
+@@ -277,6 +277,11 @@
+ 
+ MODULE_INFO(supported, "external");
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
++#define read_cr4()       __read_cr4()
++#define write_cr4(cr4)   __write_cr4(cr4)
++#endif
++
+ /* globals constants */
+ const char*         KCL_SYSINFO_OsVersionString = UTS_RELEASE;
+ const unsigned int  KCL_SYSINFO_PageSize        = PAGE_SIZE;
+diff -Naur fglrx-driver-15.7.orig/common/lib/modules/fglrx/build_mod/kcl_str.c fglrx-driver-15.7/common/lib/modules/fglrx/build_mod/kcl_str.c
+--- fglrx-driver-15.7.orig/common/lib/modules/fglrx/build_mod/kcl_str.c	2015-09-01 09:46:47.000000000 +0200
++++ fglrx-driver-15.7/common/lib/modules/fglrx/build_mod/kcl_str.c	2015-09-01 09:53:53.749349870 +0200
+@@ -42,6 +42,10 @@
+ #include "kcl_type.h"
+ #include "kcl_str.h"
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
++#define strnicmp strncasecmp
++#endif
++
+ /** \brief Fill memory with a constant byte
+  *  \param s Pointer to memory
+  *  \param c Initializing value

Modified: fglrx-driver/trunk/debian/patches/series
===================================================================
--- fglrx-driver/trunk/debian/patches/series	2015-08-11 22:36:06 UTC (rev 1495)
+++ fglrx-driver/trunk/debian/patches/series	2015-09-01 08:12:32 UTC (rev 1496)
@@ -3,3 +3,4 @@
 03-stub-for-agpless-kernel.patch
 04-3.17rc6-no_hotplug.patch
 05-4.0.0-build.patch
+06-4.0.0-build-2.patch




More information about the Pkg-fglrx-devel mailing list