Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/firefox/files: firefox-38-hppa-js-syntax-error.patch
Date: Wed, 29 Jul 2015 20:14:18
Message-Id: 20150729201414.3B792113@oystercatcher.gentoo.org
1 axs 15/07/29 20:14:14
2
3 Added: firefox-38-hppa-js-syntax-error.patch
4 Log:
5 Fix syntax errors causing hppa build failures (bug 556196)
6
7 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 009C547C2B6559ED!)
8
9 Revision Changes Path
10 1.1 www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/firefox/files/firefox-38-hppa-js-syntax-error.patch?rev=1.1&content-type=text/plain
14
15 Index: firefox-38-hppa-js-syntax-error.patch
16 ===================================================================
17 # HG changeset patch
18 # User Ian Stakenvicius <axs@g.o>
19 # Parent 2ee9895e032c492705adaf213706d4260ca172c8
20 Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa)
21
22 Upstream bug 1189011
23 Gentoo bug 556196
24
25 diff --git a/js/src/jsfriendapi.h b/js/src/jsfriendapi.h
26 --- a/js/src/jsfriendapi.h
27 +++ b/js/src/jsfriendapi.h
28 @@ -15,17 +15,17 @@
29 #include "jsbytecode.h"
30 #include "jspubtd.h"
31
32 #include "js/CallArgs.h"
33 #include "js/CallNonGenericMethod.h"
34 #include "js/Class.h"
35
36 #if JS_STACK_GROWTH_DIRECTION > 0
37 -# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY(((uintptr_t)(sp) < (limit)))
38 +# define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) < (limit)))
39 #else
40 # define JS_CHECK_STACK_SIZE(limit, sp) (MOZ_LIKELY((uintptr_t)(sp) > (limit)))
41 #endif
42
43 class JSAtom;
44 struct JSErrorFormatString;
45 class JSLinearString;
46 struct JSJitInfo;