We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1835

Summary: Fix framework compile on XCode 3.1 / PPC / Altivec
Product: SDL Reporter: Kevin Shanahan <kmshanah>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: PowerPC   
OS: Mac OS X 10.5 (PPC)   
Attachments: Patch to fix os x ppc compile error

Description Kevin Shanahan 2013-05-03 00:51:27 UTC
Created attachment 1127 [details]
Patch to fix os x ppc compile error

Build fails for me on XCode 3.1 PPC due to undef of vector in SDL_cocoavideo.m and SDL_cocoamessagebox.m.  gcc is called with -faltivec, which triggers the builtin altivec types and doesn't use altivec.h.

Attached patch fixes this compile error for me.
Comment 1 Sam Lantinga 2013-05-04 05:48:31 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/e1896b95a8a7