summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-js_src_jsnum_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox/patches/patch-js_src_jsnum_h')
-rw-r--r--package/firefox/patches/patch-js_src_jsnum_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-js_src_jsnum_h b/package/firefox/patches/patch-js_src_jsnum_h
new file mode 100644
index 000000000..af999878c
--- /dev/null
+++ b/package/firefox/patches/patch-js_src_jsnum_h
@@ -0,0 +1,11 @@
+--- mozilla-1.9.2.orig/js/src/jsnum.h 2010-04-02 18:02:28.000000000 +0200
++++ mozilla-1.9.2/js/src/jsnum.h 2010-04-11 14:04:14.000000000 +0200
+@@ -98,7 +98,7 @@ JSDOUBLE_IS_FINITE(jsdouble d)
+ #ifdef WIN32
+ return _finite(d);
+ #else
+- return finite(d);
++ return isfinite(d);
+ #endif
+ }
+