summaryrefslogtreecommitdiff
path: root/user/firefox-esr/0002-Use-C99-math-isfinite.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-11 11:21:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-11 11:21:10 +0000
commit86a570a74174ebff674690fa0788731c252a1bfa (patch)
tree68f30efdd0e473cd5badaf8d20276e0a9e8236f9 /user/firefox-esr/0002-Use-C99-math-isfinite.patch
parent46f9ac5ef34bf589dd512d69283f34bd0c2a5bc9 (diff)
downloadpackages-86a570a74174ebff674690fa0788731c252a1bfa.tar.gz
packages-86a570a74174ebff674690fa0788731c252a1bfa.tar.bz2
packages-86a570a74174ebff674690fa0788731c252a1bfa.tar.xz
packages-86a570a74174ebff674690fa0788731c252a1bfa.zip
user/firefox-esr: bump to 68.0.1
Diffstat (limited to 'user/firefox-esr/0002-Use-C99-math-isfinite.patch')
-rw-r--r--user/firefox-esr/0002-Use-C99-math-isfinite.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/user/firefox-esr/0002-Use-C99-math-isfinite.patch b/user/firefox-esr/0002-Use-C99-math-isfinite.patch
deleted file mode 100644
index ba4f5cfb3..000000000
--- a/user/firefox-esr/0002-Use-C99-math-isfinite.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./xpcom/ds/nsMathUtils.h.orig
-+++ ./xpcom/ds/nsMathUtils.h
-@@ -104,12 +104,12 @@
- #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(_GLIBCXX_CMATH)
- // Darwin has deprecated |finite| and recommends |isfinite|. The former is
- // not present in the iOS SDK.
- return std::isfinite(aNum);
- #else
-- return finite(aNum);
-+ return isfinite(aNum);
- #endif
- }
-