7033N/AS11.3 FCS only workaround for
7033N/A
7033N/A19337921 - C99 math needs to be in namespace std for C++11 and later
7033N/A
7033N/Awhich is available in Oracle Solaris 11.3.3.6.0 (or greater).
7033N/A
7033N/A--- firefox-45.1.1esr/dom/canvas/CanvasRenderingContext2D.cpp
7033N/A+++ firefox-45.1.1esr/dom/canvas/CanvasRenderingContext2D.cpp
7033N/A@@ -2495,8 +2495,8 @@
7033N/A // The values of canvas API input are in double precision, but Moz2D APIs are
7033N/A // using float precision. Bypass canvas API calls when the input is out of
7033N/A // float precision to avoid precision problem
7033N/A- if (!std::isfinite((float)aX) | !std::isfinite((float)aY) |
7033N/A- !std::isfinite((float)aWidth) | !std::isfinite((float)aHeight)) {
7033N/A+ if (!isfinite((float)aX) | !isfinite((float)aY) |
7033N/A+ !isfinite((float)aWidth) | !isfinite((float)aHeight)) {
7033N/A return false;
7033N/A }
7033N/A