Package: python-cddb Version: 1.4-5.1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, python-cddb currently FTBFS on hurd-i386, due to inclusion of a linux-specific header <linux/cdrom.h>. The attached patch fixes it by including <sys/cdrom.h> instead, could you please apply it? Thanks, Samuel -- System Information: Debian Release: wheezy/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.3.99/Hurd-0.3 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -ur python-cddb-1.4.orig/unix/cdrommodule.c python-cddb-1.4/unix/cdrommodule.c --- python-cddb-1.4.orig/unix/cdrommodule.c 2001-03-10 23:34:03.000000000 +0100 +++ python-cddb-1.4/unix/cdrommodule.c 2011-11-08 02:25:00.000000000 +0100 @@ -28,6 +29,10 @@ #include <linux/cdrom.h> #endif +#ifdef __GNU__ +#include <sys/cdrom.h> +#endif + #if defined(sun) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) #include <sys/cdio.h> #endif