Package: xblast-tnt Severity: important Tags: patch Hi,
The current version of xblast-tnt fails to build on GNU/kFreeBSD, because linux/soundcard.h is Linux specific. sys/soundcard.h should be included instead on *BSD. 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 --- xblast-tnt-2.10.2.orig/xbsndsrv.c +++ xblast-tnt-2.10.2/xbsndsrv.c @@ -61,8 +61,8 @@ /* format for pids, non-sun */ #define PID_FORMAT "%u" /* non-sun audio includes */ -#ifdef __FreeBSD__ -#include <machine/soundcard.h> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <sys/soundcard.h> #else #include <linux/soundcard.h> #endif

