Package: wesnoth Severity: important Version: 1:1.4.3-1 Tags: patch User: [EMAIL PROTECTED] Usertags: kfreebsd
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweak in src/network_worker.hpp, see bellow. In fact the comment is right one, but it is not implemented by checking appropriate defines. The glibc is not used only by linux. It would also be nice if you can ask upstream to include this change. Thanks in advance Petr --- src/network_worker.hpp~ 2008-07-13 11:09:28.000000000 +0000 +++ src/network_worker.hpp 2008-07-13 11:09:28.000000000 +0000 @@ -17,7 +17,7 @@ // Check if sendfile function is implemented by glibc // It is linux only extension -#ifdef __GNUC_PREREQ +#if defined(__linux__) && defined(__GNUC_PREREQ) #if __GNUC_PREREQ(2,1) #define USE_SENDFILE #endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]