Date: Sat, 09 Apr 2016 22:22:46 +0200 From: Jan Beich <jbeich@vfemail.net> To: Christoph Moench-Tegeder <cmt@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r412868 - in head/www/chromium: . files Message-ID: <h9fa-edm1-wny@vfemail.net> In-Reply-To: <201604091953.u39JrTXF089843@repo.freebsd.org> (Christoph Moench-Tegeder's message of "Sat, 9 Apr 2016 19:53:29 %2B0000 (UTC)") References: <201604091953.u39JrTXF089843@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christoph Moench-Tegeder <cmt@FreeBSD.org> writes: > +--- ui/gfx/color_utils.cc.orig 2016-04-06 20:35:19.306577518 +0200 > ++++ ui/gfx/color_utils.cc 2016-04-06 20:35:49.282575724 +0200 > +@@ -235,9 +235,9 @@ > + b +=3D (255.0 - b) * ((shift.l - 0.5) * 2.0); > + } > + return SkColorSetARGB(alpha, > +- static_cast<int>(std::round(r)), > +- static_cast<int>(std::round(g)), > +- static_cast<int>(std::round(b))); > ++ static_cast<int>(round(r)), > ++ static_cast<int>(round(g)), > ++ static_cast<int>(round(b))); > + } This is a commn issue with C++11 ports. Maybe use the following instead: CPPFLAGS+=3D -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 Once 9.x is EOL next year it'd be easy to clean up.=20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXCWSWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bmgoH/3VVQ2zqBQ5N9ZrNQ+pyEg/o bWBokXrpdUtge5KjIf573K//S5sOGn+I9MATnr4d3lUCIcUt3olflCMQcdY06dv/ JLW6OjViOI9X/43Z33B8r/wiyJIjAN5L7QuTGyG65NB8yaojcavphoeDIAl1ZsQs Keu3p8+uAQqqitFmSOSfaj5vccB/zHtCUsOufdcoNzSzf+chAqilqJzVi2aLPeDy iCd/Y/RhSe0344Mf1LhI5OIgoNK7padVe8CGXSYtpZI9Y4oOPdxyxQhAbSJA33HV BcAy1xiqBkcDm4y9XUlFi5rl4sJBEfZ73mFV3yNFpCrTlUt9eJaJcTNHxAGMcbQ= =qeG8 -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h9fa-edm1-wny>