diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-15 12:57:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-15 14:32:38 +0000 |
commit | 0c96f83bef7f3cf30ffab693dd90126bb87e8ce1 (patch) | |
tree | 237d806ec5f037cd89ba8cb4658d52124533e4b6 /main/xulrunner/xpcom-c99math.patch | |
parent | a50fdbd9146b48006f82f69422e9c475d52a14d6 (diff) | |
download | aports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.bz2 aports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.xz |
main/xulrunner: upgrade to 6.0
Diffstat (limited to 'main/xulrunner/xpcom-c99math.patch')
-rw-r--r-- | main/xulrunner/xpcom-c99math.patch | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/xulrunner/xpcom-c99math.patch b/main/xulrunner/xpcom-c99math.patch index 955f964eb8..3222c7f206 100644 --- a/main/xulrunner/xpcom-c99math.patch +++ b/main/xulrunner/xpcom-c99math.patch @@ -1,11 +1,15 @@ ---- mozilla-release.orig/xpcom/ds/nsMathUtils.h -+++ mozilla-release/xpcom/ds/nsMathUtils.h -@@ -170,7 +170,7 @@ +--- ./xpcom/ds/nsMathUtils.h.orig ++++ ./xpcom/ds/nsMathUtils.h +@@ -151,7 +151,11 @@ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800. return !!_finite(d); #else - return finite(d); ++#ifdef _GLIBCXX_CMATH ++ return std::isfinite(d); ++#else + return isfinite(d); ++#endif #endif } |