Package: xfreecd Version: 0.9.0.1-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, xfreecd 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 xfreecd-0.9.0.1.orig/cd_control.h xfreecd-0.9.0.1/cd_control.h --- xfreecd-0.9.0.1.orig/cd_control.h 2004-09-30 20:45:44.000000000 +0200 +++ xfreecd-0.9.0.1/cd_control.h 2011-11-08 01:52:29.000000000 +0100 @@ -19,7 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ------------------------------------------------------------------------ */ +#ifdef __linux__ #include <linux/cdrom.h> +#endif +#ifdef __GNU__ +#include <sys/cdrom.h> +#endif #define CD_DIAG 0x00 #define CD_PLAY 0x01