diff options
Diffstat (limited to 'www/firefox/patches/patch-js_src_jsmath.cpp')
-rw-r--r-- | www/firefox/patches/patch-js_src_jsmath.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/firefox/patches/patch-js_src_jsmath.cpp b/www/firefox/patches/patch-js_src_jsmath.cpp index 86961e3b6b6..c0e5a214454 100644 --- a/www/firefox/patches/patch-js_src_jsmath.cpp +++ b/www/firefox/patches/patch-js_src_jsmath.cpp @@ -1,13 +1,13 @@ -$NetBSD: patch-js_src_jsmath.cpp,v 1.1 2013/07/17 11:00:13 jperkin Exp $ +$NetBSD: patch-js_src_jsmath.cpp,v 1.2 2013/09/19 12:37:50 ryoon Exp $ ---- js/src/jsmath.cpp.orig 2013-05-11 19:19:34.000000000 +0000 +--- js/src/jsmath.cpp.orig 2013-09-10 03:43:36.000000000 +0000 +++ js/src/jsmath.cpp -@@ -195,7 +195,7 @@ math_atan2_kernel(double x, double y) +@@ -244,7 +244,7 @@ js::ecmaAtan2(double y, double x) } #endif -#if defined(SOLARIS) && defined(__GNUC__) +#if defined(notSOLARIS) && defined(__GNUC__) - if (x == 0) { - if (MOZ_DOUBLE_IS_NEGZERO(y)) - return js_copysign(M_PI, x); + if (y == 0) { + if (IsNegativeZero(x)) + return js_copysign(M_PI, y); |