summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-MathExtras.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-MathExtras.patch')
-rw-r--r--debian/patches/dyson-MathExtras.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/dyson-MathExtras.patch b/debian/patches/dyson-MathExtras.patch
new file mode 100644
index 0000000..e375228
--- /dev/null
+++ b/debian/patches/dyson-MathExtras.patch
@@ -0,0 +1,29 @@
+Index: qtwebkit-opensource-src-5.2.1+dfsg/Source/WTF/wtf/MathExtras.h
+===================================================================
+--- qtwebkit-opensource-src-5.2.1+dfsg.orig/Source/WTF/wtf/MathExtras.h 2014-02-02 00:37:41.000000000 +0400
++++ qtwebkit-opensource-src-5.2.1+dfsg/Source/WTF/wtf/MathExtras.h 2014-04-28 13:25:25.330249107 +0400
+@@ -88,24 +88,6 @@
+
+ #endif
+
+-#if OS(SOLARIS)
+-
+-namespace std {
+-
+-#ifndef isfinite
+-inline bool isfinite(double x) { return finite(x) && !isnand(x); }
+-#endif
+-#ifndef signbit
+-inline bool signbit(double x) { return copysign(1.0, x) < 0; }
+-#endif
+-#ifndef isinf
+-inline bool isinf(double x) { return !finite(x) && !isnand(x); }
+-#endif
+-
+-} // namespace std
+-
+-#endif
+-
+ #if OS(OPENBSD)
+
+ namespace std {