From owner-svn-ports-head@freebsd.org Thu Aug 2 05:48:39 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 B3BC01058FA6; Thu, 2 Aug 2018 05:48:39 +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 66A547486F; Thu, 2 Aug 2018 05:48:39 +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 40FFD58C3; Thu, 2 Aug 2018 05:48:39 +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 w725mdQr061939; Thu, 2 Aug 2018 05:48:39 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w725mdGD061938; Thu, 2 Aug 2018 05:48:39 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808020548.w725mdGD061938@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 2 Aug 2018 05:48:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476219 - head/games/netherearth X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/netherearth X-SVN-Commit-Revision: 476219 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: Thu, 02 Aug 2018 05:48:39 -0000 Author: tobik Date: Thu Aug 2 05:48:38 2018 New Revision: 476219 URL: https://svnweb.freebsd.org/changeset/ports/476219 Log: games/netherearth: Fix build with Clang 6 bullet.cpp:184:7: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] bullet->pos.x,bullet->pos.y,0.3,1}; ^~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475964_s336959/logs/errors/netherearth-0.51_9.log - While here add missing dependencies Modified: head/games/netherearth/Makefile Modified: head/games/netherearth/Makefile ============================================================================== --- head/games/netherearth/Makefile Thu Aug 2 05:33:16 2018 (r476218) +++ head/games/netherearth/Makefile Thu Aug 2 05:48:38 2018 (r476219) @@ -3,7 +3,7 @@ PORTNAME= netherearth PORTVERSION= 0.51 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://move.kirishi.ru/soft/netherearth/ @@ -12,8 +12,12 @@ COMMENT= Remake of the first real time strategy game o GNU_CONFIGURE= yes -USE_GL= glut +USES= compiler +USE_GL= gl glu glut USE_SDL= sdl mixer + +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing pre-install: if [ ! -d ${STAGEDIR}${PREFIX}/share/netherearth ] ; then \