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

MacPorts noreply at macports.org
Tue Feb 4 10:39:46 PST 2014


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

Comment (by raimue@…):

 I tried to apply a patch to the mesa port, but apparently this type is
 actually used internally and is expected to be `unsigned int`.

 {{{
 make[3]: Entering directory
 `/opt/local/var/macports/build/_Users_raimue_src_macports_trunk_dports_x11_mesa/mesa/work/Mesa-8.0.4/src/mapi/glapi'
 /usr/bin/clang  -c -I../../../include -I../../../src/mapi
 -I../../../src/mesa -DMAPI_MODE_UTIL -std=c99 -fvisibility=hidden -g3
 -gdwarf-2 -Os -ffast-math -fno-strict-aliasing -Wall -Wmissing-prototypes
 -I/opt/local/include -I/opt/local/include -fPIC -arch x86_64
 -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE -DGLX_ALIAS_UNSUPPORTED
 -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL  glapi_dispatch.c -o
 glapi_dispatch.o
 In file included from glapi_dispatch.c:90:
 ../../../src/mapi/glapi/glapitemp.h:4189:32: warning: incompatible integer
 to pointer conversion passing 'GLuint' (aka 'unsigned int') to parameter
 of type 'GLhandleARB' (aka 'void *') [-Wint-conversion]
    DISPATCH(CompileShaderARB, (shader), (F, "glCompileShader(%d);\n",
 shader));
                                ^~~~~~
 glapi_dispatch.c:74:25: note: expanded from macro 'DISPATCH'
    GET_DISPATCH()->FUNC ARGS
                         ^
 In file included from glapi_dispatch.c:90:
 ../../../src/mapi/glapi/glapitemp.h:4224:35: warning: incompatible integer
 to pointer conversion passing 'GLuint' (aka 'unsigned int') to parameter
 of type 'GLhandleARB' (aka 'void *') [-Wint-conversion]
    DISPATCH(GetActiveUniformARB, (program, index, bufSize, length, size,
 type, name), (F, "glGetActiveUniform(%d, %d, %d, %p, %p, %p, %p);\n",
 program, index, bufSize, (const void *) length, (const void *) size,
 (const void *) type, (const void *) name));
                                   ^~~~~~~
 glapi_dispatch.c:74:25: note: expanded from macro 'DISPATCH'
    GET_DISPATCH()->FUNC ARGS
                         ^
 In file included from glapi_dispatch.c:90:
 ../../../src/mapi/glapi/glapitemp.h:4266:34: warning: incompatible integer
 to pointer conversion passing 'GLuint' (aka 'unsigned int') to parameter
 of type 'GLhandleARB' (aka 'void *') [-Wint-conversion]
    DISPATCH(GetShaderSourceARB, (shader, bufSize, length, source), (F,
 "glGetShaderSource(%d, %d, %p, %p);\n", shader, bufSize, (const void *)
 length, (const void *) source));
                                  ^~~~~~
 glapi_dispatch.c:74:25: note: expanded from macro 'DISPATCH'
    GET_DISPATCH()->FUNC ARGS
                         ^
 ...
 }}}

 Might need some more patching in other places to be compatible with
 OpenGL.framework again, but I don't have time for a deeper look right now.

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


More information about the macports-tickets mailing list