[Pkg-fglrx-devel] Bug#697515: fglrx-legacy-modules-dkms: Can't build with linux-3.7

TANIGUCHI Takaki takaki at debian.org
Sun Jan 6 13:23:56 UTC 2013


Package: fglrx-legacy-modules-dkms
Version: 8.97.100.3+1-1
Severity: normal
Tags: patch

Dear Maintainer,

I can't build fglrx-legacy-modules-dkms with linux-3.7.

I applied an attached patch file.

Regards,
--
谷口 貴紀 (TANIGUCHI Takaki)    takaki at asis.media-as.org
http://takaki-web.media-as.org/ takaki at debian.org
http://facebook.com/taniguchi.takaki  http://twitter.com/takaki_t
-------------- next part --------------
diff -Nru fglrx-legacy-driver-8.97.100.3+1/debian/changelog fglrx-legacy-driver-8.97.100.3+1/debian/changelog
--- fglrx-legacy-driver-8.97.100.3+1/debian/changelog	2012-09-10 23:41:11.000000000 +0900
+++ fglrx-legacy-driver-8.97.100.3+1/debian/changelog	2013-01-06 21:46:36.000000000 +0900
@@ -1,3 +1,10 @@
+fglrx-legacy-driver (8.97.100.3+1-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add debian/patches/04-fglrx_kernel_3.7.0.diff
+
+ -- TANIGUCHI Takaki <takaki at debian.org>  Sun, 06 Jan 2013 21:46:13 +0900
+
 fglrx-legacy-driver (8.97.100.3+1-1) experimental; urgency=low
 
   * New Catalyst Legacy 12.6 Release (2012-07-24).
diff -Nru fglrx-legacy-driver-8.97.100.3+1/debian/patches/04-fglrx_kernel_3.7.0.diff fglrx-legacy-driver-8.97.100.3+1/debian/patches/04-fglrx_kernel_3.7.0.diff
--- fglrx-legacy-driver-8.97.100.3+1/debian/patches/04-fglrx_kernel_3.7.0.diff	1970-01-01 09:00:00.000000000 +0900
+++ fglrx-legacy-driver-8.97.100.3+1/debian/patches/04-fglrx_kernel_3.7.0.diff	2012-12-30 18:47:26.000000000 +0900
@@ -0,0 +1,16 @@
+Index: fglrx-legacy-driver-8.97.100.3+1/common/lib/modules/fglrx/build_mod/firegl_public.c
+===================================================================
+--- fglrx-legacy-driver-8.97.100.3+1.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2012-12-30 18:43:09.297175938 +0900
++++ fglrx-legacy-driver-8.97.100.3+1/common/lib/modules/fglrx/build_mod/firegl_public.c	2012-12-30 18:47:22.682468891 +0900
+@@ -256,6 +256,11 @@
+ MODULE_DEVICE_TABLE(pci, fglrx_pci_table);
+ #endif
+ 
++/* Since linux 3.7, VM_RESERVER has been removed */
++#ifndef VM_RESERVED
++#define VM_RESERVED (VM_DONTEXPAND | VM_DONTDUMP)
++#endif
++
+ /* globals constants */
+ const char*         KCL_SYSINFO_OsVersionString = UTS_RELEASE;
+ const unsigned int  KCL_SYSINFO_PageSize        = PAGE_SIZE;
diff -Nru fglrx-legacy-driver-8.97.100.3+1/debian/patches/series fglrx-legacy-driver-8.97.100.3+1/debian/patches/series
--- fglrx-legacy-driver-8.97.100.3+1/debian/patches/series	2012-08-01 20:24:50.000000000 +0900
+++ fglrx-legacy-driver-8.97.100.3+1/debian/patches/series	2012-12-30 18:45:49.000000000 +0900
@@ -1,3 +1,4 @@
 01-fglrx_kernel_3.5.0.diff
 02-dkms-arch_compat.diff
 03-authatieventsd.sh.diff
+04-fglrx_kernel_3.7.0.diff


More information about the Pkg-fglrx-devel mailing list