Package: mp3c Version: 0.29-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, mp3c 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 mp3c-0.29.orig/configure.in mp3c-0.29/configure.in --- mp3c-0.29.orig/configure.in 2004-04-25 20:23:55.000000000 +0200 +++ mp3c-0.29/configure.in 2011-11-08 02:42:05.000000000 +0100 @@ -13,7 +13,7 @@ AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h strings.h sys/ioctl.h sys/time.h unistd.h \ - linux/cdrom.h sys/cdio.h signal.h string.h ctype.h \ + linux/cdrom.h sys/cdrom.h sys/cdio.h signal.h string.h ctype.h \ time.h dirent.h sys/stat.h sys/types.h sys/wait.h \ errno.h libintl.h locale.h) AC_CHECK_LIB(ncurses, main) diff -ur mp3c-0.29.orig/src/iocd.c mp3c-0.29/src/iocd.c --- mp3c-0.29.orig/src/iocd.c 2001-05-18 17:09:37.000000000 +0200 +++ mp3c-0.29/src/iocd.c 2011-11-08 02:41:16.000000000 +0100 @@ -33,6 +33,10 @@ #ifdef HAVE_LINUX_CDROM_H #include <linux/cdrom.h> #endif +#ifdef HAVE_SYS_CDROM_H +#define HAVE_LINUX_CDROM_H +#include <sys/cdrom.h> +#endif #ifdef HAVE_SYS_CDIO_H #include <sys/cdio.h> #endif