summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp')
-rw-r--r--package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp b/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
new file mode 100644
index 000000000..bd9eacb42
--- /dev/null
+++ b/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
@@ -0,0 +1,11 @@
+--- mozilla-2.0.orig/content/canvas/src/nsCanvasRenderingContext2D.cpp 2011-03-19 00:33:34.000000000 +0100
++++ mozilla-2.0/content/canvas/src/nsCanvasRenderingContext2D.cpp 2011-03-27 22:36:34.953370738 +0200
+@@ -159,7 +159,7 @@ DoubleIsFinite(double d)
+ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
+ return !!_finite(d);
+ #else
+- return finite(d);
++ return isfinite(d);
+ #endif
+ }
+