Bug#562256: openmovieeditor: FTBFS on GNU/kFreeBSD
Package: openmovieeditor
Version: 0.0.20080102-2.2
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Hi,
your package FTBFS on GNU/kFreeBSD because when not on Linux, including
<machine/soundcard.h> is tried, while it usually is <sys/soundcard.h>,
which is the case on GNU/kFreeBSD. I guess the way forward would be to
check for the appropriate include through configure, but the attached
patch would do for all Debian architectures for now. There's also a
missing include, which is trivially fixed.
Thanks for considering.
Mraw,
KiBi.
--- a/src/fl_font_browser.cpp
+++ b/src/fl_font_browser.cpp
@@ -28,6 +28,7 @@
#include "fl_font_browser.h"
+#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
--- a/src/portaudio/pa_unix_oss.c
+++ b/src/portaudio/pa_unix_oss.c
@@ -44,7 +44,7 @@
#ifdef __linux__
#include <linux/soundcard.h>
#else
-#include <machine/soundcard.h> /* JH20010905 */
+#include <sys/soundcard.h> /* JH20010905 */
#endif
Reply to: