Package: lxmusserv Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > -Wall -Wwrite-strings -Wshadow -W -Wcast-qual -Wmissing-declarations > -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls > -Wbad-function-cast -Wcast-align -Wpointer-arith -O2 -c -o playmus.o > playmus.c > playmus.c: In function 'playmus': > playmus.c:107: error: 'CTL_BANK_SELECT' undeclared (first use in this > function) > playmus.c:107: error: (Each undeclared identifier is reported only once > playmus.c:107: error: for each function it appears in.) > playmus.c:110: error: 'CTL_MODWHEEL' undeclared (first use in this function) > playmus.c:113: error: 'CTL_MAIN_VOLUME' undeclared (first use in this > function) > playmus.c:116: error: 'CTL_PAN' undeclared (first use in this function) > playmus.c:119: error: 'CTL_EXPRESSION' undeclared (first use in this function) > playmus.c:122: error: 'CTL_CHORUS_DEPTH' undeclared (first use in this > function) > playmus.c:125: error: 'CTL_SUSTAIN' undeclared (first use in this function) > playmus.c:128: error: 'CTL_SOFT_PEDAL' undeclared (first use in this function) > playmus.c:131: error: 'CTL_EXT_EFF_DEPTH' undeclared (first use in this > function) > make[1]: *** [playmus.o] Error 1 > make[1]: Leaving directory `/build/buildd/lxmusserv-0.94' > make: *** [build-stamp] Error 2 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=lxmusserv>. Please find attached a tiny patch to add support for GNU/kFreeBSD. Cheers, -- Cyril Brulebois
--- lxmusserv-0.94/musserver.h 2007-03-09 08:10:11.154046000 +0100 +++ lxmusserv-0.94/musserver.h 2007-03-09 08:11:31.000000000 +0100 @@ -33,6 +33,8 @@ #elif defined(__FreeBSD__) # include <machine/soundcard.h> # include <awe_voice.h> +#elif defined(__FreeBSD_kernel__) +# include <sys/soundcard.h> #endif extern char *progname;