From owner-svn-ports-head@freebsd.org Sat Apr 9 20:23:14 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 7FBFDB0931C for ; Sat, 9 Apr 2016 20:23:14 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (onethreetwo.vfemail.net [199.16.11.132]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 398D21E56 for ; Sat, 9 Apr 2016 20:23:13 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 81455 invoked by uid 89); 9 Apr 2016 20:23:12 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 9 Apr 2016 20:23:12 -0000 Received: (qmail 81371 invoked by uid 89); 9 Apr 2016 20:22:55 -0000 Received: by simscan 1.3.1 ppid: 81366, pid: 81369, t: 0.0032s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 9 Apr 2016 20:22:55 -0000 Received: (qmail 24862 invoked by uid 89); 9 Apr 2016 20:22:55 -0000 Received: by simscan 1.4.0 ppid: 24837, pid: 24859, t: 0.5178s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 9 Apr 2016 20:22:54 -0000 From: Jan Beich To: Christoph Moench-Tegeder 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 References: <201604091953.u39JrTXF089843@repo.freebsd.org> Date: Sat, 09 Apr 2016 22:22:46 +0200 In-Reply-To: <201604091953.u39JrTXF089843@repo.freebsd.org> (Christoph Moench-Tegeder's message of "Sat, 9 Apr 2016 19:53:29 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Sat, 09 Apr 2016 20:23:14 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christoph Moench-Tegeder 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(std::round(r)), > +- static_cast(std::round(g)), > +- static_cast(std::round(b))); > ++ static_cast(round(r)), > ++ static_cast(round(g)), > ++ static_cast(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----- --=-=-=--