-------------------------------------------
Changelog
-------------------------------------------

game/q_shared.h
- Silence zillions of redeclaration warnings by undef'ing vsnprintf before redefining

game/g_lua.h
- Add OS X support

SConstruct / SConscripts
- Added more thorough support for building on OS X / Darwin
- Removed the old BUILDBUNDLE path which would zip the built .bundle packages. It instead now builds as single file dylibs which are simpler to deal with everywhere.



-------------------------------------------
Changes
-------------------------------------------

I first started with the ETPub 1.0 nightly from Dec 13, 2012 on etpub.org. I don't know if that's an official release or not. This thread makes me uncertain http://forums.warchest.com/showthread.php/32170-ETpub-Nightly-Build-Client-amp-Server.


Patch to add OS X support




-------------------------------------------
Building Lua
-------------------------------------------

I had trouble with getting ETPub to build Lua properly.

Since etlegacy on OS X currently is only a 32-bit binary, we need to build Lua for 32-bit rather than the default host arch which is surely 64-bit.

1) Download lua code from the Lua website.
2) Edit src/Makefile
3) cd to the Lua directory
4) make macosx
5) copy src/liblua.a to ETPub/src/lua-<version>/libs/darwin/liblua52.a