summaryrefslogtreecommitdiff
path: root/package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-02 20:02:34 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-02 20:03:16 +0100
commit2498dca71d0f694dc7fcab6a73a3d04b2c475ea8 (patch)
treeec1412b4bee000267229a13015d234d9c4fb30ee /package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp
parent3a0e1284a72e9c8e6c637fa66f37253003de35fc (diff)
webkitgtk: update and add some patches
Diffstat (limited to 'package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp')
-rw-r--r--package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp b/package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp
new file mode 100644
index 000000000..2d1a35c7e
--- /dev/null
+++ b/package/webkitgtk/patches/patch-Source_JavaScriptCore_runtime_Options_cpp
@@ -0,0 +1,11 @@
+--- webkitgtk-2.10.7.orig/Source/JavaScriptCore/runtime/Options.cpp 2016-01-29 17:29:32.000000000 +0100
++++ webkitgtk-2.10.7/Source/JavaScriptCore/runtime/Options.cpp 2016-03-02 07:46:04.000000000 +0100
+@@ -610,7 +610,7 @@ bool Option::operator==(const Option& ot
+ 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: