Package: xblast Version: 1:2.6.1-10+kbsd Severity: important Tags: patch Hi,
The current version of xblast 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) Versions of packages xblast depends on: ii libc0.1 2.3-1+kbsd.11 GNU C Library: Shared libraries an ii libx11-6 6.8.2.dfsg.1-9 X Window System protocol client li ii libxext6 6.8.2.dfsg.1-9 X Window System miscellaneous exte ii xblast-data 1:2.6.1-10+kbsd Images for XBlast ii xlibs 6.8.2.dfsg.1-9 X Window System client libraries m xblast recommends no packages. -- no debconf information
Author: aurel32 Status: in BTS diff -u xblast-2.6.1/xbsndsrv.c xblast-2.6.1/xbsndsrv.c --- xblast-2.6.1/xbsndsrv.c +++ xblast-2.6.1/xbsndsrv.c @@ -110,8 +110,8 @@ #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/time.h> -#ifdef __FreeBSD__ -#include <machine/soundcard.h> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <sys/soundcard.h> #else #include <linux/soundcard.h> #endif --- xblast-2.6.1.orig/sound.c +++ xblast-2.6.1/sound.c @@ -109,8 +109,8 @@ #include <sys/fcntl.h> #include <sys/stat.h> #include <sys/wait.h> -#ifdef __FreeBSD__ -#include <machine/soundcard.h> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <sys/soundcard.h> #else #include <linux/soundcard.h> #endif

