svn commit: r416418 - in head/www/webkit2-gtk3: . files
Sean Bruno
sbruno at FreeBSD.org
Sun Jun 5 19:11:58 UTC 2016
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;
+ }
More information about the svn-ports-head
mailing list