commit: e74b13eda475b72b1d3e9020aa585fe5544a10c7 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> AuthorDate: Sat Nov 17 16:12:19 2018 +0000 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> CommitDate: Sat Nov 17 16:52:20 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74b13ed
dev-lang/spidermonkey: fix bitness on alpha Thanks to Brian Parkhurst for doing all the leg work on this one. Closes: https://bugs.gentoo.org/663620 Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 .../spidermonkey-52.0-fix-alpha-bitness.patch | 32 ++++++++++++++++++++++ .../spidermonkey/spidermonkey-52.9.1_pre1.ebuild | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) 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 new file mode 100644 index 00000000000..b0f87296438 --- /dev/null +++ b/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch @@ -0,0 +1,32 @@ + +# HG changeset patch +# User John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> +# Date 1482966103 -3600 +# Node ID 1f4d99d8dff27bcc25eff21dc6a16dae63f48595 +# Parent ce9e9f0dc752896ac7ba00bb0610b3f731e948b0 +Bug 1326496 - mozbuild: Fix bitness from 32 to 64 bits on alpha. r=glandium + + +diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py +--- a/python/mozbuild/mozbuild/configure/constants.py ++++ b/python/mozbuild/mozbuild/configure/constants.py +@@ -35,17 +35,17 @@ Kernel = EnumString.subclass( + 'Linux', + 'NetBSD', + 'OpenBSD', + 'WINNT', + ) + + CPU_bitness = { + 'aarch64': 64, +- 'Alpha': 32, ++ 'Alpha': 64, + 'arm': 32, + 'hppa': 32, + 'ia64': 64, + 'mips32': 32, + 'mips64': 64, + 'ppc': 32, + 'ppc64': 64, + 's390': 32, + diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild index cadf22413d7..7faa0034468 100644 --- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild @@ -48,7 +48,7 @@ src_prepare() { eapply "${WORKDIR}/${PN}" eapply "${FILESDIR}"/moz38-dont-hardcode-libc-soname.patch - #eapply "${FILESDIR}"/${PN}-52-baseconfig.patch + eapply "${FILESDIR}"/${PN}-52.0-fix-alpha-bitness.patch eapply_user