Date: Sat, 13 Sep 2014 21:17:19 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368142 - head/games/spring Message-ID: <201409132117.s8DLHJJS056153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Sep 13 21:17:19 2014 New Revision: 368142 URL: http://svnweb.freebsd.org/changeset/ports/368142 QAT: https://qat.redports.org/buildarchive/r368142/ Log: Mark BROKEN: Fails to build with gcc 4.7: /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/Rendering/GL/myGL.cpp:368:62: error: invalid conversion from 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*) {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, void*)}' to 'GLDEBUGPROCARB {aka void (*)(unsigned int, unsigned int, unsigned int, unsigned int, int, const char*, const void*)}' [-fpermissive] with clang 3.3: /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/Rendering/GL/myGL.cpp:368:29: error: cannot initialize a parameter of type 'GLDEBUGPROCARB' (aka 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *)') with an rvalue of type 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, GLvoid *)': type mismatch at 7th parameter ('const void *' vs 'GLvoid *' (aka 'void *')) glDebugMessageCallbackARB(&OpenGLDebugMessageCallback, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ with clang 3.4.1: cd /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish && /usr/bin/c++ -DBOOST_NO_FENV_H -DSPRING_DATADIR=\"/usr/local/share/spring\" -DSTREFLOP_SSE -DSYNCCHECK -DUSE_LIBSQUISH -O2 -pipe -fno-strict-aliasing -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread -DNDEBUG -I/usr/local/include -I/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts -I/wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish -o CMakeFiles/squish.dir/alpha.cpp.o -c /wrkdirs/usr/ports/games/spring/work/spring_94.1/rts/lib/squish/alpha.cpp c++: error: unknown argument: '-fsingle-precision-constant' Reported by: pkg-fallout Modified: head/games/spring/Makefile Modified: head/games/spring/Makefile ============================================================================== --- head/games/spring/Makefile Sat Sep 13 21:16:31 2014 (r368141) +++ head/games/spring/Makefile Sat Sep 13 21:17:19 2014 (r368142) @@ -22,6 +22,7 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/ libexecinfo.so:${PORTSDIR}/devel/libexecinfo BUILD_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip +BROKEN= Fails to build # XXX: it should be possible to build it on i386, investigate # (currently link fails on undefined reference to __sync_fetch_and_add_8) ONLY_FOR_ARCHS= amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409132117.s8DLHJJS056153>