Index: Makefile.in --- Makefile.in.orig 2014-12-21 19:50:06.000000000 +0100 +++ Makefile.in 2015-01-01 10:53:49.524272145 +0100 @@ -407,8 +407,8 @@ # Use -n to prevent gzip from adding a timestamp to the .gz headers. GZIP_ENV = -9n -DIST_SUBDIRS = lib src po tests debug -SUBDIRS = $(am__append_1) src po tests +DIST_SUBDIRS = lib src +SUBDIRS = $(am__append_1) src @COND_DOC_TRUE@dist_doc_DATA = \ @COND_DOC_TRUE@ AUTHORS \ @COND_DOC_TRUE@ COPYING \ Index: configure --- configure.orig 2014-12-21 19:50:04.000000000 +0100 +++ configure 2015-01-01 10:53:49.534035397 +0100 @@ -19056,27 +19056,7 @@ # don't seem so useful here; at least the last one gives some # warnings which are not bugs. for NEW_FLAG in \ - -Wall \ - -Wextra \ - -Wvla \ - -Wformat=2 \ - -Winit-self \ - -Wmissing-include-dirs \ - -Wstrict-aliasing \ - -Wfloat-equal \ - -Wundef \ - -Wshadow \ - -Wpointer-arith \ - -Wbad-function-cast \ - -Wwrite-strings \ - -Wlogical-op \ - -Waggregate-return \ - -Wstrict-prototypes \ - -Wold-style-definition \ - -Wmissing-prototypes \ - -Wmissing-declarations \ - -Wmissing-noreturn \ - -Wredundant-decls + none do { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts $NEW_FLAG" >&5 $as_echo_n "checking if $CC accepts $NEW_FLAG... " >&6; } Index: src/common/tuklib_cpucores.c --- src/common/tuklib_cpucores.c.orig 2015-09-29 12:57:36.000000000 +0200 +++ src/common/tuklib_cpucores.c 2016-03-23 10:10:09.562569550 +0100 @@ -19,7 +19,7 @@ # include // FreeBSD -#elif defined(TUKLIB_CPUCORES_CPUSET) +#elif defined(TUKLIB_CPUCORES_CPUSET) && !defined(__FreeBSD__) # include # include @@ -49,7 +49,7 @@ GetSystemInfo(&sysinfo); ret = sysinfo.dwNumberOfProcessors; -#elif defined(TUKLIB_CPUCORES_CPUSET) +#elif defined(TUKLIB_CPUCORES_CPUSET) && !defined(__FreeBSD__) cpuset_t set; if (cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, sizeof(set), &set) == 0) {