aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/mozjs-c99math.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-15 12:57:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-15 14:32:38 +0000
commit0c96f83bef7f3cf30ffab693dd90126bb87e8ce1 (patch)
tree237d806ec5f037cd89ba8cb4658d52124533e4b6 /main/xulrunner/mozjs-c99math.patch
parenta50fdbd9146b48006f82f69422e9c475d52a14d6 (diff)
downloadaports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.bz2
aports-0c96f83bef7f3cf30ffab693dd90126bb87e8ce1.tar.xz
main/xulrunner: upgrade to 6.0
Diffstat (limited to 'main/xulrunner/mozjs-c99math.patch')
-rw-r--r--main/xulrunner/mozjs-c99math.patch21
1 files changed, 7 insertions, 14 deletions
diff --git a/main/xulrunner/mozjs-c99math.patch b/main/xulrunner/mozjs-c99math.patch
index fdf346e495..a4f81b62c7 100644
--- a/main/xulrunner/mozjs-c99math.patch
+++ b/main/xulrunner/mozjs-c99math.patch
@@ -1,14 +1,3 @@
---- mozilla-1.9.2.orig/js/src/jsnum.h
-+++ mozilla-1.9.2/js/src/jsnum.h
-@@ -98,7 +98,7 @@
- #ifdef WIN32
- return _finite(d);
- #else
-- return finite(d);
-+ return isfinite(d);
- #endif
- }
-
--- mozilla-2.0.orig/js/src/ctypes/CTypes.cpp
+++ mozilla-2.0/js/src/ctypes/CTypes.cpp
@@ -464,7 +464,7 @@
@@ -20,14 +9,18 @@
#endif
}
---- mozilla-2.0.orig/content/base/public/nsContentUtils.h
-+++ mozilla-2.0/content/base/public/nsContentUtils.h
-@@ -1942,7 +1942,7 @@
+--- ./content/base/public/nsContentUtils.h.orig
++++ ./content/base/public/nsContentUtils.h
+@@ -1994,7 +1994,11 @@
#ifdef WIN32
return _finite(f);
#else
- return finite(f);
++#ifdef _GLIBCXX_CMATH
++ return std::isfinite(f);
++#else
+ return isfinite(f);
++#endif
#endif
}