Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 16:52:26 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413588 - head/games/kuklomenos/files
Message-ID:  <201604181652.u3IGqQIH033290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604181652.u3IGqQIH033290>