Bug#342780: linux-kernel-headers: usbdevice_fs.h FTBS some 64 bits packages
On Sat, Mar 04, 2006 at 03:32:50PM +0100, Cyril Chaboisseau wrote:
> there is indeed a misplacement of <linux/compat.h> in
> linux-kernel-headers 2.6.13+0rc3-2 that breaks a lot of package builds
> which depends on usbdevice_fs.h
I'm uploading a NMU for this to DELAYED/7-day; it breaks multiple packages
(gr-usrp, qemu, probably others) on ia64 and possibly other architectures.
The NMU diff is attached.
/* Steinar */
--
Homepage: http://www.sesse.net/
diff -u linux-kernel-headers-2.6.13+0rc3/debian/changelog linux-kernel-headers-2.6.13+0rc3/debian/changelog
--- linux-kernel-headers-2.6.13+0rc3/debian/changelog
+++ linux-kernel-headers-2.6.13+0rc3/debian/changelog
@@ -1,3 +1,12 @@
+linux-kernel-headers (2.6.13+0rc3-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Move <linux/compat.h> down to under the CONFIG_COMPAT #define to avoid
+ breakage when including <linux/usbdevice_fs.h> on 64-bit platforms;
+ patch from Harald Welte. (Closes: #342780)
+
+ -- Steinar H. Gunderson <sesse@debian.org> Mon, 6 Mar 2006 02:29:10 +0100
+
linux-kernel-headers (2.6.13+0rc3-2) unstable; urgency=low
* Acknowledge NMU from Adeodato Simó (Closes: #320515). Thanks!
only in patch2:
unchanged:
--- linux-kernel-headers-2.6.13+0rc3.orig/include/linux/usbdevice_fs.h
+++ linux-kernel-headers-2.6.13+0rc3/include/linux/usbdevice_fs.h
@@ -32,7 +32,6 @@
#define _LINUX_USBDEVICE_FS_H
#include <linux/types.h>
-#include <linux/compat.h>
/* --------------------------------------------------------------------- */
@@ -125,6 +124,7 @@
};
#ifdef CONFIG_COMPAT
+#include <linux/compat.h>
struct usbdevfs_urb32 {
unsigned char type;
unsigned char endpoint;
Reply to: