When you try to compile the clanlib you get an error, that one cast is set wrongly, and then it wont compile. I corrected this cast and put it into the patch. ///////////////////////////////---------patch------------\\\\\\\\\\\\\\\ diff -r -u ClanLib-0.7.7/Sources/GL/opengl_state_generic.cpp ClanLib-0.7.7-changed/Sources/GL/opengl_state_generic.cpp --- ClanLib-0.7.7/Sources/GL/opengl_state_generic.cpp 2004-01-09 17:58:54.000000000 +0100 +++ ClanLib-0.7.7-changed/Sources/GL/opengl_state_generic.cpp 2004-02-11 13:35:30.670299240 +0100 @@ -518,7 +518,7 @@ functions->drawElements = &glDrawElements; functions->drawPixels = &glDrawPixels; functions->edgeFlag = &glEdgeFlag; - functions->edgeFlagPointer = &glEdgeFlagPointer; + functions->edgeFlagPointer = ( void (*)(int, const CLvoid*) )&glEdgeFlagPointer; functions->edgeFlagv = &glEdgeFlagv; functions->enable = &glEnable; functions->enableClientState = &glEnableClientState; //////////////////////////////-----------end--------------\\\\\\\\\\\\\\\ Reproducible: Always Steps to Reproduce: 1.emerge clanlib0.7.7 and you get it (with gcc 3.2.3) 2. 3. Actual Results: won't merge Expected Results: merges It would be good, to include this patch into the ebuild.The developers of clanlib wont bring new release only cause of this tiny problem.
the ebuild is in /usr/portage/dev-games/clanlib
make sure your portage tree is up-to-date, i already patched this sometime ago