Package: portaudio
Severity: important
Tags: patch

Author: aurel32
Status: in BTS

Hi,

The current version of portaudio 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

--- portaudio-18.1.orig/pa_unix_oss/pa_unix_oss.c
+++ portaudio-18.1/pa_unix_oss/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 via email to