Date: Sat, 28 Jul 2018 05:46:17 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475491 - head/games/cube Message-ID: <201807280546.w6S5kHwI067175@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Jul 28 05:46:16 2018 New Revision: 475491 URL: https://svnweb.freebsd.org/changeset/ports/475491 Log: games/cube: Unbreak with Clang 6 clients2c.cpp:259:45: error: non-constant-expression cannot be narrowed from type 'short' to 'float' in initializer list [-Wc++11-narrowing] vec v = { ents[i].x, ents[i].y, ents[i].z }; ^~~~~~~~~ clients2c.cpp:352:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] neterr("type"); ^ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/cube-2005.08.29_17.log - Add missing GL dependency Modified: head/games/cube/Makefile Modified: head/games/cube/Makefile ============================================================================== --- head/games/cube/Makefile Sat Jul 28 05:30:58 2018 (r475490) +++ head/games/cube/Makefile Sat Jul 28 05:46:16 2018 (r475491) @@ -3,7 +3,7 @@ PORTNAME= cube DISTVERSION= 2005_08_29 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} DISTFILES= ${CUBE_DATA} ${CUBE_SRC} @@ -14,6 +14,7 @@ COMMENT= OpenGL 3D FPS (first person shooter) game LIB_DEPENDS= libenet.so:net/enet USES= dos2unix gmake +USE_CXXSTD= gnu++98 EXTRACT_AFTER_ARGS=--exclude enet ALL_TARGET= # @@ -33,7 +34,7 @@ OPTIONS_SUB= yes FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client -CLIENT_USE= GL=glu SDL=image,mixer,sdl XORG=x11 +CLIENT_USE= GL=gl,glu SDL=image,mixer,sdl XORG=x11 CLIENT_LDFLAGS= -lX11 CLIENT_ALL_TARGET= client OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807280546.w6S5kHwI067175>