diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 21:03:26 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 21:03:26 +0300 |
commit | 84681b3a5c8f656b9fa18162eacf80b2db0e4106 (patch) | |
tree | 187f4b54f3b701c5eb15bc84dea6e9703d8d023f | |
parent | 46c093eaeae3365f46124655c19df0762eb80caf (diff) | |
download | qt5webkit-master.tar.gz |
-rw-r--r-- | debian/patches/dyson-MathExtras.h.patch | 29 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 30 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..89c0e4c --- /dev/null +++ b/debian/patches/dyson-MathExtras.h.patch @@ -0,0 +1,29 @@ +Index: qt5webkit/Source/WTF/wtf/MathExtras.h +=================================================================== +--- qt5webkit.orig/Source/WTF/wtf/MathExtras.h ++++ qt5webkit/Source/WTF/wtf/MathExtras.h +@@ -75,24 +75,6 @@ const double sqrtOfTwoDouble = M_SQRT2; + const float sqrtOfTwoFloat = static_cast<float>(M_SQRT2); + #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 COMPILER(MSVC) + + // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values. diff --git a/debian/patches/series b/debian/patches/series index 5e1189d..0ef0e2a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ fix_ftbfs_x32.diff path_max.diff dyson-solaris-amd64-memory-layout.patch dyson-use-system-malloc.patch +dyson-MathExtras.h.patch |