[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336914: linpsk: FTBFS on GNU/kFreeBSD



Package: linpsk
Severity: important
Tags: patch

Hi,

The current version of linpsk fails to build on GNU/kFreeBSD, because
machine/soundcard.h has been moved to sys/soundcard.h on BSD systems for
a long time (since version 5.0 for FreeBSD). Please find attached a 
patch to fix that. It would be nice if you could include it in the next
upload.

Thanks in advance,
Aurelien


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

--- linpsk-0.8.1.orig/src/portaudio/pa_unix_oss.c
+++ linpsk-0.8.1/src/portaudio/pa_unix_oss.c
@@ -44,7 +44,7 @@
 #ifdef __linux__
 #include <linux/soundcard.h>
 #else
-#include <machine/soundcard.h> /* JH20010905 */
+#include <sys/soundcard.h> /* JH20010905 */
 #endif
 
 


Reply to: