Package: wmcpuload Version: 1.0.1-3 Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD due to missing OS detection, and here is a patch to solve this. In case you need them, build logs are available from <http://experimental.ftbfs.de/>. Cheers, -- Cyril Brulebois
--- configure.ac 2007-04-05 06:58:50.809596000 +0200 +++ configure.ac 2007-04-05 07:00:16.000000000 +0200 @@ -102,6 +102,12 @@ AC_CHECK_HEADER(linux/threads.h, [AC_DEFINE(USE_SMP, 1, [use SMP support])], [echo "linux/threads.h header file was not found, but is necessary to support mulit processors"]) ;; +kfreebsd*) + # Same as Linux, but don't check for threads.h header + OS=linux + ignore_nice=yes + ignore_proc=yes + ;; freebsd*) OS=freebsd ignore_nice=yes --- src/cpu_linux.c 2007-04-05 07:01:51.737916000 +0200 +++ src/cpu_linux.c 2007-04-05 07:04:27.000000000 +0200 @@ -21,7 +21,11 @@ #include <dirent.h> #include <sys/types.h> #include <sys/stat.h> +#ifdef __linux__ #include <linux/limits.h> +#else +#include <sys/limits.h> +#endif #ifdef USE_SMP #include <linux/threads.h>