aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xulrunner/mozjs-c99math.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 23:11:45 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 23:11:45 -0600
commit54028b37df0f6790fa6639458467bb53bc19dbae (patch)
treeab1d687726d2f7b61f50723089c2cec502de636f /testing/xulrunner/mozjs-c99math.patch
parentc81b105d7827e1f77fa67b86dd056ba652c78ab7 (diff)
downloadaports-54028b37df0f6790fa6639458467bb53bc19dbae.tar.bz2
aports-54028b37df0f6790fa6639458467bb53bc19dbae.tar.xz
testing/xulrunner: new aport
Diffstat (limited to 'testing/xulrunner/mozjs-c99math.patch')
-rw-r--r--testing/xulrunner/mozjs-c99math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/xulrunner/mozjs-c99math.patch b/testing/xulrunner/mozjs-c99math.patch
new file mode 100644
index 0000000000..ce05c17965
--- /dev/null
+++ b/testing/xulrunner/mozjs-c99math.patch
@@ -0,0 +1,11 @@
+--- 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 __finite(d);
+ #endif
+ }
+