summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-wtf-MathExtras.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-04-27 14:51:34 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-04-27 14:51:34 +0400
commit68ff2bbe7bbe96d9da6788d3ee9273d1bf50a903 (patch)
tree99a8c985c3b74cbb42dc28660c51eb72b2fec5a6 /debian/patches/dyson-wtf-MathExtras.patch
parent19d586fd1a3fde028c666fb5f49dd66f41b7da36 (diff)
downloadqtdeclarative-68ff2bbe7bbe96d9da6788d3ee9273d1bf50a903.tar.gz
qtdeclarative-opensource-src (5.2.1-5+dyson1)dyson/5.2.1-5+dyson1
* Package for Dyson * debian/libqt5qml5.symbols: added illumos-amd64 arch where amd64 and kfreebsd-amd64 * debian/libqt5quickparticles5.symbol: likewise * Added patches: dyson-qv4engine-getStackLimit.patch dyson-wtf-MathExtras.patch dyson-jsruntime-MemoryManager.patch dyson-jsruntime-pow.patch
Diffstat (limited to 'debian/patches/dyson-wtf-MathExtras.patch')
-rw-r--r--debian/patches/dyson-wtf-MathExtras.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/dyson-wtf-MathExtras.patch b/debian/patches/dyson-wtf-MathExtras.patch
new file mode 100644
index 0000000..4a2084d
--- /dev/null
+++ b/debian/patches/dyson-wtf-MathExtras.patch
@@ -0,0 +1,29 @@
+Index: qtdeclarative-opensource-src-5.2.1/src/3rdparty/masm/wtf/MathExtras.h
+===================================================================
+--- qtdeclarative-opensource-src-5.2.1.orig/src/3rdparty/masm/wtf/MathExtras.h 2014-02-02 00:38:03.000000000 +0400
++++ qtdeclarative-opensource-src-5.2.1/src/3rdparty/masm/wtf/MathExtras.h 2014-04-27 09:50:11.005274127 +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 {