From owner-svn-ports-head@freebsd.org Mon Apr 18 16:52:27 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 793CDB13FFB; Mon, 18 Apr 2016 16:52:27 +0000 (UTC) (envelope-from pi@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 mx1.freebsd.org (Postfix) with ESMTPS id 4AF001A88; Mon, 18 Apr 2016 16:52:27 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3IGqQN8033291; Mon, 18 Apr 2016 16:52:26 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3IGqQIH033290; Mon, 18 Apr 2016 16:52:26 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201604181652.u3IGqQIH033290@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 18 Apr 2016 16:52:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413588 - head/games/kuklomenos/files X-SVN-Group: ports-head 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.21 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: Mon, 18 Apr 2016 16:52:27 -0000 Author: pi Date: Mon Apr 18 16:52:26 2016 New Revision: 413588 URL: https://svnweb.freebsd.org/changeset/ports/413588 Log: games/kuklomenos: Fix build with libc++ 3.8.0 PR: 208842 Submitted by: dim Added: head/games/kuklomenos/files/ head/games/kuklomenos/files/patch-node.cc (contents, props changed) Added: head/games/kuklomenos/files/patch-node.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/kuklomenos/files/patch-node.cc Mon Apr 18 16:52:26 2016 (r413588) @@ -0,0 +1,11 @@ +--- node.cc.orig 2009-10-04 14:01:21 UTC ++++ node.cc +@@ -175,7 +175,7 @@ Uint32 Node::colour() const + { + intensity = (status == NODEST_NONE ? 0x80 : 0xbf); + intensity += int( (0xff - intensity) * +- std::max(0.0, 1 - ( fabs(angleDiff(spin*3, 0)) * 2 )) ); ++ std::max(0.0f, 1 - ( fabsf(angleDiff(spin*3, 0)) * 2 )) ); + } + } + else