[cairo] [PATCH] Fix SDL compilation for MacOS X

Paolo Bonzini bonzini at gnu.org
Wed Nov 26 05:06:54 PST 2008


The attached patch makes the SDL tests compile under Mac OS X.  The
problem is:

1) that <SDL_main.h> should be included in files that define the main
function for SDL Mac OS X programs (this is not true with the upcoming
SDL 1.3 release).

2) that -lSDLmain, because it is statically linked, needs the Cocoa
framework in the LDADD of the main program.  Again, 1.3 will not require
this.

Ok?  Can it be committed for me?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cairo-sdl-build.patch
Url: http://lists.cairographics.org/archives/cairo/attachments/20081126/82041026/attachment-0001.txt 


More information about the cairo mailing list