Hi, thank you very much for you patch, I will incorporate it to the next upload.
Best regards, Antonin * Aurelien Jarno <[EMAIL PROTECTED]> [2005-11-01 21:19] wrote: > Package: gtkguitune > Severity: important > Tags: patch > > Hi, > > The current version of gtkguitune fails to build on GNU/kFreeBSD, > because of outdated config.{guess,sub} and 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 > > diff -u gtkguitune-0.7/debian/control gtkguitune-0.7/debian/control > --- gtkguitune-0.7/debian/control > +++ gtkguitune-0.7/debian/control > @@ -2,7 +2,7 @@ > Section: x11 > Priority: optional > Maintainer: Antonin Kral <[EMAIL PROTECTED]> > -Build-Depends: debhelper (>> 4.0.0), libgtkmm-dev, libgtk1.2-dev > +Build-Depends: debhelper (>> 4.0.0), libgtkmm-dev, libgtk1.2-dev, > autotools-dev > Standards-Version: 3.6.2 > > Package: gtkguitune > only in patch2: > unchanged: > --- gtkguitune-0.7.orig/main.cc > +++ gtkguitune-0.7/main.cc > @@ -24,7 +24,12 @@ > #include <fcntl.h> > #include <unistd.h> > #include <sys/ioctl.h> > +#if defined(__linux__) > #include <linux/soundcard.h> > +#endif > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > +#include <sys/soundcard.h> > +#endif > > #include <gtk/gtk.h> > #include <gtk--/window.h> > only in patch2: > unchanged: > --- gtkguitune-0.7.orig/guitune.cc > +++ gtkguitune-0.7/guitune.cc > @@ -24,7 +24,12 @@ > #include <sys/stat.h> > #include <fcntl.h> > #include <sys/ioctl.h> > +#if defined(__linux__) > #include <linux/soundcard.h> > +#endif > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > +#include <sys/soundcard.h> > +#endif > > #include <gtk--/main.h> > #include <gtk--/box.h> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]