On Wed, 21 Feb 2007, Frank J. R. Hanstick wrote: > On Feb 21, 2007, at 8:37 AM, Marc Aurele La France wrote: > > On Mon, 19 Feb 2007, Frank J. R. Hanstick wrote: > > > The modified supplied gl.h is in xc/extras/Mesa/include/GL and the > > > modification is as follows: > > > /* > > > * Added from gl.h found in frameworks > > > */ > > > #ifndef GL_TYPEDEFS_2_0 > > > #define GL_TYPEDEFS_2_0 > > > typedef char GLchar; > > > #endif > > > This is a work around; however, I believe the actual correction would be > > > to generate the makefile with frameworks as a lead source or update Mesa > > > to a later version of OpenGL. The defined versions in gl.h are as > > > follows: > > > #define GL_VERSION_1_1 1 > > > #define GL_VERSION_1_2 1 > > > #define GL_VERSION_1_3 1 > > > #define GL_ARB_imaging 1 > > > whereas the defined versions in Frameworks are as follows: > > > #define GL_VERSION_1_1 1 > > > #define GL_VERSION_1_2 1 > > > #define GL_VERSION_1_3 1 > > > #define GL_VERSION_1_4 1 > > > #define GL_VERSION_1_5 1 > > > #define GL_VERSION_2_0 1 > > > I hope this helps. > > Well, yes & no :-) I suspect we need to resync the Darwin bits in our > > source tree with X.Org's. Would you be willing to test a patch that does > > that? > Sure, send me a patch. OK. Attached is my first stab at this. This applies not to XFree86 4.6, but to the head branch of our CVS repository, which you can retrieve following the instructions at <http://www.xfree86.org/cvs>. The first step here is to ensure thiese changes compile. So, please send me (privately) the output from `make World`. Thanks. Marc. +----------------------------------+----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and | fax: 1-780-492-1729 | | Communications Technologies | email: tsi@xxxxxxxxxxx | | 352 General Services Building +----------------------------------+ | University of Alberta | | | Edmonton, Alberta | Standard disclaimers apply | | T6G 2H1 | | | CANADA | | +----------------------------------+----------------------------------+ XFree86 developer and VP. ATI driver and X server internals.
Attachment:
Darwin.diff.gz
Description: Binary data