Package: solfege
Severity: important
Tags: patch

Hi,

solfege fails to build on GNU/kFreeBSD because it unconditionaly
include a linux specific header, even if it is not need (because of
conditional code). As the check is done in the configure script, the fix
is just to add a simple #ifdef.

You will find attached a patch to fix that. It would be nice if you
could apply 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)
Status: in BTS
Author: aurel32

--- solfege-3.0.2.orig/soundcard/macro_to_function.c
+++ solfege-3.0.2/soundcard/macro_to_function.c
@@ -24,7 +24,9 @@
 #include <unistd.h>
 #include <sys/ioctl.h>
 
+#ifdef HAVE_LINUX_AWE_VOICE_H
 #include <linux/awe_voice.h>
+#endif
 
 extern int _seqbufptr;
 extern int _seqbuflen;

Reply via email to