Package: xfce4-battery-plugin Version: 0.4.90.3-1 Severity: important Tags: patch
Maw Corsac and pkg-xfce, please find attached a tiny patch to fix the FTBFS of your package on GNU/kFreeBSD (logs are available on <http://experimental.ftbfs.de/>), due to the misdetection of how to reach battery information. You know how to reach me if you have any question. ;-) Cheers, -- Cyril Brulebois
--- xfce4-battery-plugin-0.4.90.3/panel-plugin/battery.c 2007-03-21 06:24:11.989735000 +0100 +++ xfce4-battery-plugin-0.4.90.3/panel-plugin/battery.c 2007-03-21 06:24:41.000000000 +0100 @@ -25,7 +25,7 @@ #include <config.h> #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include <machine/apm_bios.h> #elif __OpenBSD__ #include <sys/param.h>