Package: sjog Version: 0.6-2 Severity: wishlist Tags: patch Hi,
please find attached a patch to make your package buildable on kfreebsd-i386. I don't know if it might be useful, but since it builds fine, I guess that it could. Please also note that you could change the include to a single <sys/soundcard.h> include, since on Linux it does include <linux/soundcard.h>. Cheers, -- Cyril Brulebois
--- sjog-0.6/debian/control 2007-04-05 11:36:59.467077000 +0200 +++ sjog-0.6/debian/control 2007-04-05 11:38:06.000000000 +0200 @@ -6,7 +6,7 @@ Build-Depends: autoconf (>= 2.53-2), automake1.4, debhelper (>= 4.0.0), libglib1.2-dev (>= 1.2.10-4), libgtk1.2-dev (>= 1.2.10-11), libgdk-pixbuf-dev (>=0.13.0-1), x-dev, libx11-dev, libxtst-dev, xutils (>= 4.1.0-16) Package: sjog -Architecture: i386 +Architecture: i386 kfreebsd-i386 Depends: ${shlibs:Depends}, spicctrl Description: A program to use the "Jog Dial" on Sony Vaio Laptops S-Jog is a program that uses the Sony Vaio laptops Jog Wheel to do various --- sjog-0.6/src/sjog_volume.c 2007-04-05 11:34:58.549022000 +0200 +++ sjog-0.6/src/sjog_volume.c 2007-04-05 11:35:15.000000000 +0200 @@ -1,5 +1,9 @@ #include <sys/ioctl.h> +#ifdef __linux__ #include <linux/soundcard.h> +#else +#include <sys/soundcard.h> +#endif #include "sjog.h" #include "sjog_volume.h"