diff options
author | 2015-07-29 20:14:14 +0000 | |
---|---|---|
committer | 2015-07-29 20:14:14 +0000 | |
commit | d6160f7bcd140393143f03ef5db6a0ce6f5bdfa6 (patch) | |
tree | 2d0ee2efad13cb6608434d44d67e2abc3fca3889 /www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch | |
parent | Keyworded for *-solaris, *-macos (diff) | |
download | gentoo-2-d6160f7bcd140393143f03ef5db6a0ce6f5bdfa6.tar.gz gentoo-2-d6160f7bcd140393143f03ef5db6a0ce6f5bdfa6.tar.bz2 gentoo-2-d6160f7bcd140393143f03ef5db6a0ce6f5bdfa6.zip |
Fix syntax errors causing hppa build failures (bug 556196)
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 009C547C2B6559ED!)
Diffstat (limited to 'www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch')
-rw-r--r-- | www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch b/www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch new file mode 100644 index 000000000000..719732e6ec0a --- /dev/null +++ b/www-client/firefox/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; |