Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/, dev-lang/spidermonkey/files/
Date: Sat, 17 Nov 2018 16:52:41
Message-Id: 1542473540.e74b13eda475b72b1d3e9020aa585fe5544a10c7.axs@gentoo
1 commit: e74b13eda475b72b1d3e9020aa585fe5544a10c7
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 16:12:19 2018 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 16:52:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74b13ed
7
8 dev-lang/spidermonkey: fix bitness on alpha
9
10 Thanks to Brian Parkhurst for doing all the leg work on this one.
11
12 Closes: https://bugs.gentoo.org/663620
13 Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>
14 Package-Manager: Portage-2.3.49, Repoman-2.3.11
15
16 .../spidermonkey-52.0-fix-alpha-bitness.patch | 32 ++++++++++++++++++++++
17 .../spidermonkey/spidermonkey-52.9.1_pre1.ebuild | 2 +-
18 2 files changed, 33 insertions(+), 1 deletion(-)
19
20 diff --git a/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch b/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch
21 new file mode 100644
22 index 00000000000..b0f87296438
23 --- /dev/null
24 +++ b/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch
25 @@ -0,0 +1,32 @@
26 +
27 +# HG changeset patch
28 +# User John Paul Adrian Glaubitz <glaubitz@××××××××××××××××.de>
29 +# Date 1482966103 -3600
30 +# Node ID 1f4d99d8dff27bcc25eff21dc6a16dae63f48595
31 +# Parent ce9e9f0dc752896ac7ba00bb0610b3f731e948b0
32 +Bug 1326496 - mozbuild: Fix bitness from 32 to 64 bits on alpha. r=glandium
33 +
34 +
35 +diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py
36 +--- a/python/mozbuild/mozbuild/configure/constants.py
37 ++++ b/python/mozbuild/mozbuild/configure/constants.py
38 +@@ -35,17 +35,17 @@ Kernel = EnumString.subclass(
39 + 'Linux',
40 + 'NetBSD',
41 + 'OpenBSD',
42 + 'WINNT',
43 + )
44 +
45 + CPU_bitness = {
46 + 'aarch64': 64,
47 +- 'Alpha': 32,
48 ++ 'Alpha': 64,
49 + 'arm': 32,
50 + 'hppa': 32,
51 + 'ia64': 64,
52 + 'mips32': 32,
53 + 'mips64': 64,
54 + 'ppc': 32,
55 + 'ppc64': 64,
56 + 's390': 32,
57 +
58
59 diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
60 index cadf22413d7..7faa0034468 100644
61 --- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
62 +++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild
63 @@ -48,7 +48,7 @@ src_prepare() {
64
65 eapply "${WORKDIR}/${PN}"
66 eapply "${FILESDIR}"/moz38-dont-hardcode-libc-soname.patch
67 - #eapply "${FILESDIR}"/${PN}-52-baseconfig.patch
68 + eapply "${FILESDIR}"/${PN}-52.0-fix-alpha-bitness.patch
69
70 eapply_user