From owner-svn-ports-head@freebsd.org Sat Jul 28 07:16:32 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B90AD10440D1; Sat, 28 Jul 2018 07:16:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AC787E532; Sat, 28 Jul 2018 07:16:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4A2DD2372A; Sat, 28 Jul 2018 07:16:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6S7GWnk015140; Sat, 28 Jul 2018 07:16:32 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6S7GWmN015139; Sat, 28 Jul 2018 07:16:32 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807280716.w6S7GWmN015139@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 28 Jul 2018 07:16:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475503 - head/games/ultimatestunts X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/ultimatestunts X-SVN-Commit-Revision: 475503 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 07:16:32 -0000 Author: tobik Date: Sat Jul 28 07:16:31 2018 New Revision: 475503 URL: https://svnweb.freebsd.org/changeset/ports/475503 Log: games/ultimatestunts: Fix build with Clang 6 and lld gamerenderer.cpp:81:30: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing] GLfloat specular_color[] = {3.0*lightCol.x, 3.0*lightCol.y, 3.0*lightCol.z, 1.0}; ^~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/ultimatestunts-0.7.7.1_4.log - Fix bad absolute symlink - Mark as LLD_UNSAFE because of audio/openal-soft dependency [1] PR: 226980 [1] Modified: head/games/ultimatestunts/Makefile Modified: head/games/ultimatestunts/Makefile ============================================================================== --- head/games/ultimatestunts/Makefile Sat Jul 28 07:08:24 2018 (r475502) +++ head/games/ultimatestunts/Makefile Sat Jul 28 07:16:31 2018 (r475503) @@ -3,7 +3,7 @@ PORTNAME= ultimatestunts PORTVERSION= 0.7.7.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/sourcecode \ SF/nemysisfreebsdp/${CATEGORIES}/:icons @@ -19,13 +19,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libvorbisfile.so:audio/libvorbis -USES= gettext openal:al,alut pkgconfig +USES= compiler gettext openal:al,alut pkgconfig USE_GL= gl glu USE_SDL= sdl image GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openal MAKE_JOBS_UNSAFE= yes +LLD_UNSAFE= yes +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= $$(pkgconf --cflags-only-I sdl) LDFLAGS+= $$(pkgconf --libs-only-L sdl) @@ -66,7 +69,7 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${RLN} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .if ${PORT_OPTIONS:MDOCS}