diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:05:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 10:07:25 +0000 |
commit | ee0cb14df1c060942429a0ac473b46d5c17c34c9 (patch) | |
tree | 31ac9c50589875b23dc4d05ac0835a99e63bf4b6 /community/webkit2gtk/fix-isnan.patch | |
parent | 4c965f850ffccc42317a82c454bbd142a4c687b5 (diff) | |
download | aports-ee0cb14df1c060942429a0ac473b46d5c17c34c9.tar.bz2 aports-ee0cb14df1c060942429a0ac473b46d5c17c34c9.tar.xz |
community/webkit2gtk: move from testing
Diffstat (limited to 'community/webkit2gtk/fix-isnan.patch')
-rw-r--r-- | community/webkit2gtk/fix-isnan.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/webkit2gtk/fix-isnan.patch b/community/webkit2gtk/fix-isnan.patch new file mode 100644 index 0000000000..664446010b --- /dev/null +++ b/community/webkit2gtk/fix-isnan.patch @@ -0,0 +1,19 @@ +--- webkitgtk-2.10.3/Source/JavaScriptCore/runtime/Options.cpp.orig ++++ webkitgtk-2.10.3/Source/JavaScriptCore/runtime/Options.cpp +@@ -29,7 +29,6 @@ + #include "HeapStatistics.h" + #include <algorithm> + #include <limits> +-#include <math.h> + #include <mutex> + #include <stdlib.h> + #include <string.h> +@@ -610,7 +609,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: |