Bug#637539: phaseshift: FTBFS on hurd-i386
Package: phaseshift
Version: 0.40-13.2
Severity: important
Tags: patch
Hello,
phaseshift currently FTBFS on hurd-i386 due to missing soundcard.h
inclusion. The attached patch fixes it.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Samuel Thibault <samuel.thibault@fnac.net>
The only "intuitive" interface is the nipple. After that, it's all learned.
(Bruce Ediger, bediger@teal.csn.org, in comp.os.linux.misc, on X interfaces.)
--- ./phaseshift/mixer.cpp.orig 2011-08-12 11:47:21.000000000 +0000
+++ ./phaseshift/mixer.cpp 2011-08-12 11:47:42.000000000 +0000
@@ -17,7 +17,7 @@
#if defined(__linux__)
#include <linux/soundcard.h>
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#include <sys/soundcard.h>
#endif
#include <sys/ioctl.h>
--- ./phaseshift/phaseshift.cpp.orig 2011-08-12 11:48:03.000000000 +0000
+++ ./phaseshift/phaseshift.cpp 2011-08-12 11:48:00.000000000 +0000
@@ -21,7 +21,7 @@
#include <stdio.h>
#if defined(__linux__)
#include <linux/soundcard.h>
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#include <sys/soundcard.h>
#endif
#include <sys/ioctl.h>
Reply to: