summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-09 18:06:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-09 18:06:47 +0200
commit5b8a6068f9e634bacea5ce99e7c71bcf796a6ab6 (patch)
tree4d524277d38d11fccc7ecb5ecb8ab5a88ce44fe3 /package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
parent8e9760d0297d16f96e01c2fe497970c97b967d2c (diff)
remove superold firefox
Diffstat (limited to 'package/firefox/patches/patch-xpcom_ds_nsMathUtils_h')
-rw-r--r--package/firefox/patches/patch-xpcom_ds_nsMathUtils_h21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
deleted file mode 100644
index 3d4d0546b..000000000
--- a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
+++ /dev/null
@@ -1,21 +0,0 @@
---- firefox-45.0.orig/xpcom/ds/nsMathUtils.h 2016-03-03 22:48:07.000000000 +0100
-+++ firefox-45.0/xpcom/ds/nsMathUtils.h 2016-03-13 21:15:29.543246177 +0100
-@@ -103,12 +103,16 @@ NS_finite(double aNum)
- #ifdef WIN32
- // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
- return !!_finite(aNum);
--#elif defined(XP_DARWIN)
-+#elif defined(XP_DARWIN) || defined(__UCLIBC__)
- // Darwin has deprecated |finite| and recommends |isfinite|. The former is
- // not present in the iOS SDK.
- return std::isfinite(aNum);
- #else
-- return finite(aNum);
-+#ifdef _GLIBCXX_CMATH
-+ return std::isfinite(aNum);
-+#else
-+ return isfinite(aNum);
-+#endif
- #endif
- }
-