Package: wmrack Severity: important Tags: patch Hi,
The current version of wmrack fails to build on GNU/kFreeBSD and GNU/Hurd, because linux/soundcard.h is Linux specific. sys/soundcard.h should be included instead on *BSD and Hurd. Please find attached a patch to fix that. It would be nice if you could include it in the next upload. Thanks in advance, Samuel -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) -- Samuel Thibault <[EMAIL PROTECTED]> There are two types of Linux developers - those who can spell, and those who can't. There is a constant pitched battle between the two. (From one of the post-1.1.54 kernel update messages posted to c.o.l.a)
diff -ur wmrack-1.2-orig/mixer.c wmrack-1.2/mixer.c --- wmrack-1.2-orig/mixer.c 2003-10-02 00:44:19.000000000 +0200 +++ wmrack-1.2/mixer.c 2006-04-09 23:28:31.000000000 +0200 @@ -17,7 +17,7 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> -#include <linux/soundcard.h> +#include <sys/soundcard.h> #include "mixer.h"

