aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-14 05:17:19 +0800
committerantoine <antoine@FreeBSD.org>2014-09-14 05:17:19 +0800
commit57ae3d63251eb7d0a7d04b0279396a45f5a3196a (patch)
tree0ef9dbb6b41fdadbc51ed2326485c10c22466ac8
parentd5f8093b3e088d405bb2feacff88d5fad4576fa5 (diff)
downloadfreebsd-ports-gnome-57ae3d63251eb7d0a7d04b0279396a45f5a3196a.tar.gz
freebsd-ports-gnome-57ae3d63251eb7d0a7d04b0279396a45f5a3196a.tar.zst
freebsd-ports-gnome-57ae3d63251eb7d0a7d04b0279396a45f5a3196a.zip
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
-rw-r--r--games/spring/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 793610295d48..718dc6ab3ccb 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
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