Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 19:11:57 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416418 - in head/www/webkit2-gtk3: . files
Message-ID:  <201606051911.u55JBvGe036350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Sun Jun  5 19:11:57 2016
New Revision: 416418
URL: https://svnweb.freebsd.org/changeset/ports/416418

Log:
  Add explicit cast to float to repair build with libc++ 3.8.0
  
  PR:		209686
  Submitted by:	dim

Added:
  head/www/webkit2-gtk3/files/patch-Source_WebCore_rendering_shapes_BoxShape.cpp   (contents, props changed)
Modified:
  head/www/webkit2-gtk3/Makefile

Modified: head/www/webkit2-gtk3/Makefile
==============================================================================
--- head/www/webkit2-gtk3/Makefile	Sun Jun  5 18:59:49 2016	(r416417)
+++ head/www/webkit2-gtk3/Makefile	Sun Jun  5 19:11:57 2016	(r416418)
@@ -3,7 +3,7 @@
 
 PORTNAME=	webkit
 PORTVERSION=	2.8.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	http://webkitgtk.org/releases/
 PKGNAMESUFFIX=	2-gtk3

Added: head/www/webkit2-gtk3/files/patch-Source_WebCore_rendering_shapes_BoxShape.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/webkit2-gtk3/files/patch-Source_WebCore_rendering_shapes_BoxShape.cpp	Sun Jun  5 19:11:57 2016	(r416418)
@@ -0,0 +1,11 @@
+--- Source/WebCore/rendering/shapes/BoxShape.cpp.orig	2015-07-22 12:37:57 UTC
++++ Source/WebCore/rendering/shapes/BoxShape.cpp
+@@ -43,7 +43,7 @@ static inline LayoutUnit adjustRadiusFor
+ 
+     LayoutUnit ratio = radius / margin;
+     if (ratio < 1)
+-        return radius + (margin * (1 + pow(ratio - 1, 3)));
++        return radius + (margin * (1 + pow(static_cast<float>(ratio) - 1, 3)));
+ 
+     return radius + margin;
+ }



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