summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/gecko-c99math.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-17 20:46:25 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-17 20:46:51 -0500
commit56b3e818912ac0ccc294efea6fca3a5d07d19fd6 (patch)
tree4d5ba4cb36c507e220149d8f15625a17b912b0d9 /main/xulrunner/gecko-c99math.patch
parent0314b8125e186c9ec8cbacb8cf8c53ec32da5415 (diff)
downloadaports-56b3e818912ac0ccc294efea6fca3a5d07d19fd6.tar.bz2
aports-56b3e818912ac0ccc294efea6fca3a5d07d19fd6.tar.xz
main/xulrunner: upgrade to 2.0_rc1
Diffstat (limited to 'main/xulrunner/gecko-c99math.patch')
-rw-r--r--main/xulrunner/gecko-c99math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xulrunner/gecko-c99math.patch b/main/xulrunner/gecko-c99math.patch
new file mode 100644
index 000000000..cdb846442
--- /dev/null
+++ b/main/xulrunner/gecko-c99math.patch
@@ -0,0 +1,11 @@
+--- mozilla-2.0.orig/content/canvas/src/nsCanvasRenderingContext2D.cpp
++++ mozilla-2.0/content/canvas/src/nsCanvasRenderingContext2D.cpp
+@@ -159,7 +159,7 @@
+ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
+ return !!_finite(d);
+ #else
+- return finite(d);
++ return isfinite(d);
+ #endif
+ }
+