Package: cdde Version: 0.3.1-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, cdde 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 cdde-0.3.1.orig/src/cdde.c cdde-0.3.1/src/cdde.c --- cdde-0.3.1.orig/src/cdde.c 2008-08-25 15:33:49.000000000 +0200 +++ cdde-0.3.1/src/cdde.c 2011-11-08 01:55:13.000000000 +0100 @@ -41,7 +41,12 @@ #include <stdlib.h> #include <string.h> #include <limits.h> +#ifdef __linux__ #include <linux/cdrom.h> +#endif +#ifdef __GNU__ +#include <sys/cdrom.h> +#endif #include <fstab.h> #include <signal.h> #include <errno.h>