diff options
Diffstat (limited to 'debian/patches/dyson-MathExtras.h.patch')
-rw-r--r-- | debian/patches/dyson-MathExtras.h.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/dyson-MathExtras.h.patch b/debian/patches/dyson-MathExtras.h.patch new file mode 100644 index 0000000..0fedbd7 --- /dev/null +++ b/debian/patches/dyson-MathExtras.h.patch @@ -0,0 +1,34 @@ +Index: qtwebkit/Source/JavaScriptCore/wtf/MathExtras.h +=================================================================== +--- qtwebkit.orig/Source/JavaScriptCore/wtf/MathExtras.h 2011-12-25 23:12:15.000000000 +0400 ++++ qtwebkit/Source/JavaScriptCore/wtf/MathExtras.h 2013-12-04 08:14:27.896528418 +0400 +@@ -81,20 +81,6 @@ + + #endif + +-#if OS(SOLARIS) +- +-#ifndef isfinite +-inline bool isfinite(double x) { return finite(x) && !isnand(x); } +-#endif +-#ifndef isinf +-inline bool isinf(double x) { return !finite(x) && !isnand(x); } +-#endif +-#ifndef signbit +-inline bool signbit(double x) { return copysign(1.0, x) < 0; } +-#endif +- +-#endif +- + #if OS(OPENBSD) + + #ifndef isfinite +@@ -248,7 +234,7 @@ + return static_cast<int>(std::min(value, static_cast<unsigned>(std::numeric_limits<int>::max()))); + } + +-#if !COMPILER(MSVC) && !(COMPILER(RVCT) && PLATFORM(BREWMP)) && !OS(SOLARIS) && !OS(SYMBIAN) ++#if !COMPILER(MSVC) && !(COMPILER(RVCT) && PLATFORM(BREWMP)) && !OS(SYMBIAN) + using std::isfinite; + using std::isinf; + using std::isnan; |