--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/firefox/patches/S11.patch Mon Sep 05 05:00:46 2016 -0700
@@ -0,0 +1,19 @@
+S11.3 FCS only workaround for
+
+19337921 - C99 math needs to be in namespace std for C++11 and later
+
+which is available in Oracle Solaris 11.3.3.6.0 (or greater).
+
+--- firefox-45.1.1esr/dom/canvas/CanvasRenderingContext2D.cpp
++++ firefox-45.1.1esr/dom/canvas/CanvasRenderingContext2D.cpp
+@@ -2495,8 +2495,8 @@
+ // The values of canvas API input are in double precision, but Moz2D APIs are
+ // using float precision. Bypass canvas API calls when the input is out of
+ // float precision to avoid precision problem
+- if (!std::isfinite((float)aX) | !std::isfinite((float)aY) |
+- !std::isfinite((float)aWidth) | !std::isfinite((float)aHeight)) {
++ if (!isfinite((float)aX) | !isfinite((float)aY) |
++ !isfinite((float)aWidth) | !isfinite((float)aHeight)) {
+ return false;
+ }
+