summaryrefslogtreecommitdiff
path: root/dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-07 01:56:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-07 01:56:04 +0100
commit854735ef34c730eec54571f1d694a68c10e21c81 (patch)
treec2b0e2fef394452b1e1fb8a371dfbb948b2fca6c /dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch
parent533feecd029facba89f4a4a6c754ccfd5baec747 (diff)
dev-lang/spidermonkey : import from gentoo, compile with clang-12
Diffstat (limited to 'dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch')
-rw-r--r--dev-lang/spidermonkey/files/spidermonkey-52.0-fix-alpha-bitness.patch32
1 files changed, 32 insertions, 0 deletions
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 00000000..b0f87296
--- /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 <glaubitz@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,
+