Package: cccd Version: 0.3beta4-6.2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, cccd 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 cccd-0.3beta4.orig/cd.h cccd-0.3beta4/cd.h --- cccd-0.3beta4.orig/cd.h 1998-08-20 18:09:39.000000000 +0200 +++ cccd-0.3beta4/cd.h 2011-11-08 02:03:01.000000000 +0100 @@ -26,7 +26,12 @@ #define CCCD_CD_H #include <sys/types.h> +#ifdef __linux__ #include <linux/cdrom.h> +#endif +#ifdef __GNU__ +#include <sys/cdrom.h> +#endif #define MSF_TO_SEC(msf) ( msf.minute*60 + msf.second ) #define MSF_TO_FRAME(msf) ( MSF_TO_SEC(msf)*75 + msf.frame )