Package: wmrack
Version: 1.4-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

wmrack 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 wmrack-1.4.orig/cdrom.c wmrack-1.4/cdrom.c
--- wmrack-1.4.orig/cdrom.c     2007-11-26 00:54:46.000000000 +0100
+++ wmrack-1.4/cdrom.c  2011-11-08 02:46:05.000000000 +0100
@@ -24,6 +24,9 @@
 #ifdef linux
 #  include <sys/vfs.h>
 #  include <linux/cdrom.h>
+#elif defined(__GNU__)
+#  include <sys/cdrom.h>
+#  include <sys/statfs.h>
 #elif defined(__sun) && defined(__SVR4) /* Solaris */
 #  include <sys/cdio.h>
 #  include <sys/statvfs.h>

Reply via email to