http://tremulous.net/phpBB2/viewtopic.php?t=5608
As pointed out in this thread, the Carbon call MakeDataExecutable( ... ) can be
replaced with msync( ..., MS_INVALIDATE ) removing the need for linking with
the Carbon framework for the PPC mac build.
The Gestalt() Carbon function was also being used to detect Altivec capability, so I replaced this with the mach-o check SDL uses.
Attached patch seems to work fine with both a OS X 10.4 compile and one built against the 10.2.8SDK.
Created attachment 1440[details]
remove Carbon deps
remove Carbon dependencies
also removes some spammy printf's for local IP detection I added a long time ago
Oh, I forgot. I also added the msync() call for non-Mac OS X PPC systems because it seems like a proper thing to do.
Can someone please test on Linux PPC?
Created attachment 1440 [details] remove Carbon deps remove Carbon dependencies also removes some spammy printf's for local IP detection I added a long time ago