Date: Sun, 17 Apr 2016 13:33:39 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r413509 - branches/2016Q2/graphics/gource/files Message-ID: <201604171333.u3HDXdxE030903@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim (src committer) Date: Sun Apr 17 13:33:38 2016 New Revision: 413509 URL: https://svnweb.freebsd.org/changeset/ports/413509 Log: MFH: r413481 During the exp-run in bug 208158, it was found that graphics/gource gives errors with libc++ 3.8.0: src/dirnode.cpp:585:27: error: no matching function for call to 'max' this->parent_radius = std::max(1.0, sqrt(total_file_area) * gGourceDirPadding); ^~~~~~~~ This is because max() is being called with two arguments of different type (double and float). Fix this by using 0.0f instead (and casting the result of sqrt to float like two lines above, though this should strictly not be necessary). Approved by: portmgr (junovitch) PR: 208844 Added: branches/2016Q2/graphics/gource/files/ - copied from r413481, head/graphics/gource/files/ Modified: Directory Properties: branches/2016Q2/ (props changed)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604171333.u3HDXdxE030903>