Fails to build from source on GNU/Hurd due to inclusion of a linux-specific header <linux/cdrom.h>. Instead include <sys/cdrom.h>.
Patch by Samuel Thibault <sthiba...@debian.org> [1], which fixes Debian bug [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/fix_hurd_ftbfs.patch/ [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647964 --- wmcdplay/cdctl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wmcdplay/cdctl.h b/wmcdplay/cdctl.h index 0a008f2..a93619f 100644 --- a/wmcdplay/cdctl.h +++ b/wmcdplay/cdctl.h @@ -30,7 +30,12 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#ifdef __linux__ #include <linux/cdrom.h> +#endif +#ifdef __GNU__ +#include <sys/cdrom.h> +#endif // CD status values #define ssData 0 -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.