summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-17 18:25:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-17 18:25:48 +0200
commit94e55c5b6cb493d9467686088a7b159322eeda5f (patch)
tree791a6908a5eaa6ad611bbe587cfc28d2428572a0 /package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
parentf7ae07959a3de464468de2a07ce9970fedf13931 (diff)
parent6e2120ea29a30b1379ee9454ab410088fac0e8f7 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/firefox/patches/patch-xpcom_ds_nsMathUtils_h')
-rw-r--r--package/firefox/patches/patch-xpcom_ds_nsMathUtils_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
new file mode 100644
index 000000000..5a1a81c06
--- /dev/null
+++ b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
@@ -0,0 +1,11 @@
+--- mozilla-release.orig/xpcom/ds/nsMathUtils.h 2013-09-11 01:15:27.000000000 +0200
++++ mozilla-release/xpcom/ds/nsMathUtils.h 2013-10-14 14:05:43.000000000 +0200
+@@ -98,7 +98,7 @@ inline NS_HIDDEN_(bool) NS_finite(double
+ #ifdef WIN32
+ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
+ return !!_finite(d);
+-#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(d);