Package: fglrx-kernel-src
Version: 8.37.6-1
Severity: important
Tags: patch

Hi,

As of the upcoming 2.6.22 kernel, ioctl32.h is removed [1]. Fglrx
includes ioctl32.h and therefore fails to build. When it was removed,
ioctl32.h was already nearly empty, most of its stuff moved to other
header files. Fglrx does not use any of the stuff that was remaining, so
the include can be safely removed. See patch attached.

Gr.

Matthijs

[1]: 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6272e2667965dfb5b59199f462cd0f001fb304a6

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-rc2-g2d7dc765-dirty (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-kernel-src depends on:
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  debhelper                     5.0.50     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  kernel-package                11.001     A utility for building Linux kerne
ii  module-assistant              0.10.11    tool to make module package creati

-- no debconf information
--- ../../fglrx.orig/firegl_public.c	2007-06-12 08:52:37.000000000 +0200
+++ firegl_public.c	2007-06-12 09:05:02.000000000 +0200
@@ -147,11 +147,13 @@
 #endif
 
 #ifdef __x86_64__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
 #include "linux/ioctl32.h"
 #else
 #include "asm/ioctl32.h"
 #endif
+#endif
 
 #ifdef __x86_64__
 #include "asm/compat.h"

Reply via email to