Subject: pkg/23934: games/bzflag : yes, you guessed it -- doesn't compile on FreeBSD; trival fix attached
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 12/31/2003 03:01:57
>Number: 23934
>Category: pkg
>Synopsis: games/bzflag : yes, you guessed it -- doesn't compile on FreeBSD; trival fix attached
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Dec 31 03:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Michal Pasternak
>Release: N/A
>Organization:
>Environment:
4.9-STABLE
>Description:
FreeBSD-4-STABLE build fails on:
usr/X11R6/include -DBUILDING_BZADMIN -c StdBothUI.cxx
In file included from /usr/include/sys/select.h:40,
from StdBothUI.cxx:23:
/usr/include/sys/event.h:53: syntax error before `;'
/usr/include/sys/event.h:55: syntax error before `;'
In file included from StdBothUI.cxx:23:
/usr/include/sys/select.h:47: syntax error before `;'
gmake[2]: *** [StdBothUI.o] Błąd 1
gmake[2]: Leaving directory `/usr/pkgsrc/games/bzflag/work/bzflag-1.9.10.20031209/src/bzadmin'
gmake[1]: *** [all-recursive] Błąd 1
gmake[1]: Leaving directory `/usr/pkgsrc/games/bzflag/work/bzflag-1.9.10.20031209/src'
gmake: *** [all-recursive] Błąd 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/games/bzflag
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/games/bzflag
>How-To-Repeat:
N/A
>Fix:
Please fix it as soon as possible, so we -- People, Who Don't Party On
New Year's Eve -- can get it running on our boxes and play it whole
night.
Install the file below as patches/patch-af
You can flank the #include by #ifdef __FreeBSD__ if you like (maybe
there are platforms which don't have sys/types, who knows!)
$NetBSD$
--- src/bzadmin/StdBothUI.cxx~ Tue Dec 9 08:38:14 2003
+++ src/bzadmin/StdBothUI.cxx Wed Dec 31 02:55:48 2003
@@ -20,6 +20,7 @@
#include <ws2tcpip.h>
#include <wincon.h>
#else
+#include <sys/types.h>
#include <sys/select.h>
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: