svn commit: r412868 - in head/www/chromium: . files
Jan Beich
jbeich at vfemail.net
Sat Apr 9 20:23:14 UTC 2016
Christoph Moench-Tegeder <cmt at 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 += (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+= -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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20160409/aeb25723/attachment.sig>
More information about the svn-ports-head
mailing list