From: SourceForge.net <no...@so...> - 2003-01-29 12:50:43
|
Patches item #675978, was opened at 2003-01-28 10:16 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=303248&aid=675978&group_id=3248 Category: BZFlag Group: None Status: Open Resolution: None Priority: 5 Submitted By: Isak Styf (istyf) Assigned to: Tim Riker (timriker) Summary: New Mac OS X Patch Initial Comment: This patch is against the latest CVS and can be applied with "patch --input=<wherever the patch is> -p1" in your source code root. It has been applied to a recent checkout and compiles nicely. The patch includes first and foremost an updated ProjectBuilder file that carries targets for all four subprojects of BZFlag. It also has an aggregate target that builds all of the other four targets. Source code changes are: network.h: Added code to undef TCP_NODELAY and TCP_MAXSEG. menus.cxx: Added code to start the server from the client. bzfrelay.cxx: Added code to define socklen_t to int. Bundle.cxx: Changed the character conversion code to provide better replacements for swedish characters. BundleMgr.cxx: Changed the bundle loading code to look in the correct resource folder when running on OS X. Hope this helps. /// Isak ---------------------------------------------------------------------- >Comment By: Isak Styf (istyf) Date: 2003-01-29 13:55 Message: Logged In: YES user_id=232617 Deleted the macosx.diff file since it is no longer valid. The uploaded pbproj.diff.gz contains up to date changes to the latest CVS including the pbproj commited by rae. pbproj.diff contains the following changes with respect to the latest CVS: Tool targets added for bzfls and bzfrelay. CopyFiles buildphase added to store bzfs, bzfls and bzfrelay in the executables subfolder of the BZFlag bundle. This means that the _MACOSX_ hack in ServerStartMenu::execute is no longer necessary and has been removed. CopyFiles buildphase added to store the locale files in a l10n subfolder of the Resources folder in the .app. This means that the _MACOSX_ hack in the BundleMgr is no longer necessary (hasnt been included in the CVS). MacBZFlag-prefix.h changed to not include <cstdint>. My gcc chokes on it and i cant find that inlude file anywhere. The source compiles fine without it. Deployment build style changed to not include debugging info. This strips my BZFlag binary from 14MB down to a little over 1MB. Much better IMHO. Thats about it i think. This patch has been applied to a recent checkout and compiled fine using 2.95.2. /// Isak ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=303248&aid=675978&group_id=3248 |