summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch')
-rw-r--r--www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch b/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch
new file mode 100644
index 000000000000..719732e6ec0a
--- /dev/null
+++ b/www-client/seamonkey/files/firefox-38-hppa-js-syntax-error.patch
@@ -0,0 +1,30 @@
+# HG changeset patch
+# User Ian Stakenvicius <axs@gentoo.org>
+# Parent 2ee9895e032c492705adaf213706d4260ca172c8
+Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa)
+
+Upstream bug 1189011
+Gentoo bug 556196
+
+diff --git a/js/src/jsfriendapi.h b/js/src/jsfriendapi.h
+--- a/js/src/jsfriendapi.h
++++ b/js/src/jsfriendapi.h
+@@ -15,17 +15,17 @@
+ #include "jsbytecode.h"
+ #include "jspubtd.h"
+
+ #include "js/CallArgs.h"
+ #include "js/CallNonGenericMethod.h"
+ #include "js/Class.h"
+
+ #if JS_STACK_GROWTH_DIRECTION > 0
+-# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY(((uintptr_t)(sp) < (limit)))
++# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) < (limit)))
+ #else
+ # define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) > (limit)))
+ #endif
+
+ class JSAtom;
+ struct JSErrorFormatString;
+ class JSLinearString;
+ struct JSJitInfo;