Package: oss-preserve
Severity: important
Tags: patch

Fails to build on GNU/kFreeBSD, because it includes unportable
<linux/soundcard.h> instead of <sys/soundcard.h>.  The attached patch fixes it.

Please, could you forward it to upstream?

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
diff -ur oss-preserve-1.1.old/ossctl.c oss-preserve-1.1/ossctl.c
--- oss-preserve-1.1.old/ossctl.c	2001-04-10 07:35:55.000000000 +0200
+++ oss-preserve-1.1/ossctl.c	2005-08-09 20:21:06.000000000 +0200
@@ -28,7 +28,7 @@
 #include <glib.h>
 
 #include <errno.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 

Reply via email to