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 1100 - Build errors on Mac OSX 10.6 without GLX support
Summary: Build errors on Mac OSX 10.6 without GLX support
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Mac OS X 10.6
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 08:23 UTC by sqook
Modified: 2011-01-24 17:39 UTC (History)
0 users

See Also:


Attachments
Patch which fixes the described bug (2.50 KB, text/plain)
2011-01-22 08:23 UTC, sqook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sqook 2011-01-22 08:23:13 UTC
Created attachment 555 [details]
Patch which fixes the described bug

When building SDL with the following flags, lots of compiler errors result:

SDL_VIDEO_OPENGL_CGL=0
SDL_VIDEO_OPENGL_GLX=0
SDL_VIDEO_DRIVER_X11=0
SDL_VIDEO_RENDER_X11=0

All of these errors are easily fixed by converting some #ifdef's to #if's, and adding #ifndef blocks in the SDL_config_macosx.h file. I have attached a patch to this bug which addresses these issues.

BTW, is it possible to make a pull request of some sort to the main HG repo? That would make it much easier to submit patches to the project.
Comment 1 Sam Lantinga 2011-01-24 17:39:01 UTC
This is fixed, thanks!
http://hg.libsdl.org/SDL/rev/455bc74f7034