[packages/gtk-webkit4] - updated to 2.10.7 - added c++ patch (add missing std:: namespace to isnan)

qboosh qboosh at pld-linux.org
Sun Feb 21 13:00:08 CET 2016


commit 8b5b1bd8d5321ba68ad7b9af062af6342800de84
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 21 13:03:13 2016 +0100

    - updated to 2.10.7
    - added c++ patch (add missing std:: namespace to isnan)

 gtk-webkit4-c++.patch | 11 +++++++++++
 gtk-webkit4.spec      |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index 38d8fbd..c6fc143 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -18,13 +18,14 @@
 Summary:	Port of WebKit embeddable web component to GTK+ 3
 Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 3
 Name:		gtk-webkit4
-Version:	2.10.2
-Release:	3
+Version:	2.10.7
+Release:	1
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
-# Source0-md5:	892e3077ad6c10c8233e7e8b5497cd7a
+# Source0-md5:	84832b9d8329413b4f1d87df5f7e8efe
 Patch0:		x32.patch
+Patch1:		%{name}-c++.patch
 URL:		http://webkitgtk.org/
 BuildRequires:	/usr/bin/ld.gold
 BuildRequires:	EGL-devel
@@ -140,6 +141,7 @@ Dokumentacja API WebKita.
 %prep
 %setup -q -n webkitgtk-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
diff --git a/gtk-webkit4-c++.patch b/gtk-webkit4-c++.patch
new file mode 100644
index 0000000..f126235
--- /dev/null
+++ b/gtk-webkit4-c++.patch
@@ -0,0 +1,11 @@
+--- webkitgtk-2.10.7/Source/JavaScriptCore/runtime/Options.cpp.orig	2016-01-29 17:29:32.000000000 +0100
++++ webkitgtk-2.10.7/Source/JavaScriptCore/runtime/Options.cpp	2016-02-20 23:25:56.686551690 +0100
+@@ -610,7 +610,7 @@
+     case Options::Type::unsignedType:
+         return m_entry.unsignedVal == other.m_entry.unsignedVal;
+     case Options::Type::doubleType:
+-        return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
++        return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal));
+     case Options::Type::int32Type:
+         return m_entry.int32Val == other.m_entry.int32Val;
+     case Options::Type::optionRangeType:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/8b5b1bd8d5321ba68ad7b9af062af6342800de84



More information about the pld-cvs-commit mailing list