[MacPorts] #42331: crack-attack won't build/install on OS X Mavericks

MacPorts noreply at macports.org
Thu Jan 30 15:14:50 PST 2014


#42331: crack-attack won't build/install on OS X Mavericks
--------------------------------+----------------------
  Reporter:  hugo.at.ribeiro@…  |      Owner:  raimue@…
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.1
Resolution:                     |   Keywords:
      Port:  crack-attack mesa  |
--------------------------------+----------------------
Changes (by raimue@…):

 * owner:  macports-tickets@… => raimue@…
 * status:  new => assigned
 * port:  crack-attack => crack-attack mesa
 * cc: raimue@… (removed)
 * cc: jeremyhu@… (added)


Comment:

 Thank you for this bug report. Indeed I had not tried yet to build crack-
 attack on Mavericks.

 The problem is a type declared differently in mesa than in the OpenGL
 framework header:

 {{{
 In file included from DrawGarbage.cxx:32:
 /opt/local/include/GL/glext.h:5340:22: error: typedef redefinition with
 different types ('unsigned int' vs 'void *')
 typedef unsigned int GLhandleARB;
                      ^
 /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:65:15: note:
 previous definition is here
 typedef void *GLhandleARB;
               ^
 }}}

 Newer versions of `GL/glext.h` use the following declaration instead, in
 mesa upstream available as of version 9.2:
 {{{
 #ifdef __APPLE__
 typedef void *GLhandleARB;
 #else
 typedef unsigned int GLhandleARB;
 #endif
 }}}

 With the change applied locally in `GL/glext.h`, crack-attack builds and
 works fine for me on Mavericks.

 Jeremy, could we just backport this type declaration only for Mavericks,
 while other reasons are holding back a newer mesa (see #41349)?

-- 
Ticket URL: <https://trac.macports.org/ticket/42331#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list