From owner-svn-ports-all@freebsd.org Mon Nov 5 20:31:48 2018 Return-Path: Delivered-To: svn-ports-all@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 3B501110B0A4; Mon, 5 Nov 2018 20:31:48 +0000 (UTC) (envelope-from linimon@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 9BEA971C31; Mon, 5 Nov 2018 20:31:47 +0000 (UTC) (envelope-from linimon@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 7EAA11C859; Mon, 5 Nov 2018 20:31:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA5KVl19010116; Mon, 5 Nov 2018 20:31:47 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA5KVlWx010115; Mon, 5 Nov 2018 20:31:47 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811052031.wA5KVlWx010115@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Mon, 5 Nov 2018 20:31:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484220 - in head/games/torcs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/games/torcs: . files X-SVN-Commit-Revision: 484220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9BEA971C31 X-Spamd-Result: default: False [-1.49 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.756,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.63)[-0.629,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 20:31:48 -0000 Author: linimon Date: Mon Nov 5 20:31:46 2018 New Revision: 484220 URL: https://svnweb.freebsd.org/changeset/ports/484220 Log: Fails with base GCC, needs to have USES=compiler:c++11-lang. Additionally, a fix for isnan() being not detected. Also, add USES=gl. PR: 232680 Submitted by: Piotr Kubaj Approved by: maintainer Added: head/games/torcs/files/patch-src_drivers_olethros_geometry.cpp (contents, props changed) Modified: head/games/torcs/Makefile Modified: head/games/torcs/Makefile ============================================================================== --- head/games/torcs/Makefile Mon Nov 5 20:30:31 2018 (r484219) +++ head/games/torcs/Makefile Mon Nov 5 20:31:46 2018 (r484220) @@ -19,7 +19,8 @@ RUN_DEPENDS= bash:shells/bash MAKE_JOBS_UNSAFE= yes -USES= compiler:c++11-lang cpe gmake openal:al,alut shebangfix tar:bzip2 +USES= compiler:c++11-lang cpe gl gmake openal:al,alut shebangfix \ + tar:bzip2 CPE_VENDOR= bernhard_wymann SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \ src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \ Added: head/games/torcs/files/patch-src_drivers_olethros_geometry.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/torcs/files/patch-src_drivers_olethros_geometry.cpp Mon Nov 5 20:31:46 2018 (r484220) @@ -0,0 +1,11 @@ +--- src/drivers/olethros/geometry.cpp.orig 2018-10-25 14:35:19 UTC ++++ src/drivers/olethros/geometry.cpp +@@ -370,7 +370,7 @@ void EstimateSphere (std::vector P, Parametric + } + delta_total += delta; + } +- if (isnan(r)) { ++ if (std::isnan(r)) { + for (i=0; iC))[i] - mean[i]) / scale; + }