Package: fglrx-kernel-src
Version: 8.30.3-1
Severity: wishlist
Tags: patch

Hi,

The attached patch is needed to build fglrx against a kernel >= 2.6.19.

linux/config.h is no longer generated starting with linux 2.6.19-rc2.

JB.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-rc5
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages fglrx-kernel-src depends on:
ii  bzip2                         1.0.3-6    high-quality block-sorting file co
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  make                          3.81-3     The GNU version of the "make" util

Versions of packages fglrx-kernel-src recommends:
ii  module-assistant              0.10.7     tool to make module package creati

-- no debconf information
diff -ru orig/modules/fglrx/agp3.c modules/fglrx/agp3.c
--- orig/modules/fglrx/agp3.c	2006-10-26 15:39:30.000000000 +0200
+++ modules/fglrx/agp3.c	2006-11-16 23:03:42.691631786 +0100
@@ -61,7 +61,7 @@
 #include <linux/modversions.h>
 #endif
 #endif
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/init.h>
diff -ru orig/modules/fglrx/agpgart_be.c modules/fglrx/agpgart_be.c
--- orig/modules/fglrx/agpgart_be.c	2006-10-26 15:39:30.000000000 +0200
+++ modules/fglrx/agpgart_be.c	2006-11-16 23:03:47.239890976 +0100
@@ -99,7 +99,7 @@
 #endif
 #endif
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 
 
 #include <linux/module.h>
diff -ru orig/modules/fglrx/drm.h modules/fglrx/drm.h
--- orig/modules/fglrx/drm.h	2006-10-26 15:39:30.000000000 +0200
+++ modules/fglrx/drm.h	2006-11-16 23:03:24.234579978 +0100
@@ -38,7 +38,7 @@
 #define _DRM_H_
 
 #if defined(__linux__)
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <asm/ioctl.h>		/* For _IO* macros */
 #define DRM_IOCTL_NR(n)		_IOC_NR(n)
 #define DRM_IOC_VOID		_IOC_NONE
diff -ru orig/modules/fglrx/drmP.h modules/fglrx/drmP.h
--- orig/modules/fglrx/drmP.h	2006-10-26 15:39:30.000000000 +0200
+++ modules/fglrx/drmP.h	2006-11-16 23:03:24.262581574 +0100
@@ -42,7 +42,7 @@
  * can build the DRM (part of PI DRI). 4/21/2000 S + B */
 #include <asm/current.h>
 #endif /* __alpha__ */
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>
diff -ru orig/modules/fglrx/firegl_public.c modules/fglrx/firegl_public.c
--- orig/modules/fglrx/firegl_public.c	2006-11-07 01:44:35.000000000 +0100
+++ modules/fglrx/firegl_public.c	2006-11-16 23:03:30.490936508 +0100
@@ -67,9 +67,9 @@
  * for example for CPU hot-plugging. I wonder why a desktop
  * distribution would even include such a kernel patch. */
 #ifdef CONFIG_MEM_MIRROR
-/* Prevent linux/config.h from being included again in subsequent
+/* Prevent linux/autoconf.h from being included again in subsequent
  * kernel headers as that would redefine CONFIG_MEM_MIRROR. */
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #warning "Disabling CONFIG_MEM_MIRROR because it does not work with non-GPL modules."
 #warning "This will break page tracking when the fglrx kernel module is used."
 #undef CONFIG_MEM_MIRROR
@@ -86,7 +86,7 @@
 #include <asm/unistd.h> /* for installing the patch wrapper */
 #include <linux/module.h>
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/kernel.h>
 #include <linux/fs.h>
 #include <linux/proc_fs.h>

Reply via email to