diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-09-30 10:28:39 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-09-30 10:28:39 +0300 |
commit | 7d074160201598ee5270bf71c41c31ac5f11366c (patch) | |
tree | b191b18ad2db0eaafda48b665011d333f9efc69a /debian/patches/dyson-MathExtras.h.patch | |
parent | 10b769e541b7ac3ae0d71a5fcfbc7b6fb4e0fda8 (diff) | |
download | webkit-master.tar.gz |
webkitgtk (2.4.11-3+dyson0.1)HEADdyson/2.4.11-3+dyson0.1master
Diffstat (limited to 'debian/patches/dyson-MathExtras.h.patch')
-rw-r--r-- | debian/patches/dyson-MathExtras.h.patch | 29 |
1 files changed, 29 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..4ade009 --- /dev/null +++ b/debian/patches/dyson-MathExtras.h.patch @@ -0,0 +1,29 @@ +Index: webkit/Source/WTF/wtf/MathExtras.h +=================================================================== +--- webkit.orig/Source/WTF/wtf/MathExtras.h ++++ webkit/Source/WTF/wtf/MathExtras.h +@@ -76,24 +76,6 @@ inline double wtf_ceil(double x) { retur + + #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 { |