Package: bzflag
Severity: important
Version: 2.0.4.20051017
Tags: patch
Hi,
the current version of bzflag fails to build on GNU/kFreeBSD.
It needs 3 small changes (or 2 + ./autoconf).
Please apply diffs bellow.
Thanks in advance
Petr
--- include/network.h~ 2005-11-28 15:58:47.000000000 +0100
+++ include/network.h 2005-11-28 15:58:47.000000000 +0100
@@ -64,7 +64,7 @@
# define AddrLen unsigned int
/* setsockopt incorrectly prototypes the 4th arg without const. */
# define SSOType void*
-#elif defined(BSD) || defined(sun)
+#elif defined(BSD) || defined(sun) || defined(__GLIBC__)
# define AddrLen socklen_t
#elif defined (__APPLE__)
# include <AvailabilityMacros.h>
--- configure.ac~ 2005-11-28 17:55:59.000000000 +0100
+++ configure.ac 2005-11-28 17:55:59.000000000 +0100
@@ -225,7 +225,7 @@
AC_MSG_RESULT([$ac_ff_effect_directional])
case $host_os in
- linux*|freebsd*|netbsd*|dragonfly*) linux=true;;
+ linux*|kfreebsd*|freebsd*|netbsd*|dragonfly*) linux=true;;
*) linux=false;;
esac
AM_CONDITIONAL(LINUX, $linux)
--- configure.OLD 2005-10-17 18:44:44.000000000 +0200
+++ configure 2005-11-28 17:48:06.000000000 +0100
@@ -21255,7 +21255,7 @@
echo "${ECHO_T}$ac_ff_effect_directional" >&6
case $host_os in
- linux*|freebsd*|netbsd*|dragonfly*) linux=true;;
+ linux*|kfreebsd*|freebsd*|netbsd*|dragonfly*) linux=true;;
*) linux=false;;
esac
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]