summaryrefslogtreecommitdiff
path: root/lang/spidermonkey52
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2019-10-08 21:16:06 +0000
committerjklos <jklos@pkgsrc.org>2019-10-08 21:16:06 +0000
commita8801c0a51a27ab3506c17cc21ec236eb1c59548 (patch)
treeefef6afc4eb96f4a6eb8a539f619df831fe5bacf /lang/spidermonkey52
parent48554fdc4f4dd825fac13b1e9114c0a9cf7e6958 (diff)
downloadpkgsrc-a8801c0a51a27ab3506c17cc21ec236eb1c59548.tar.gz
Fix spidermonkey52 fo compile on alpha.
Diffstat (limited to 'lang/spidermonkey52')
-rw-r--r--lang/spidermonkey52/patches/patch-python_mozbuild_mozbuild_configure_constants.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/spidermonkey52/patches/patch-python_mozbuild_mozbuild_configure_constants.py b/lang/spidermonkey52/patches/patch-python_mozbuild_mozbuild_configure_constants.py
index 6ba72292a20..ce4280f4611 100644
--- a/lang/spidermonkey52/patches/patch-python_mozbuild_mozbuild_configure_constants.py
+++ b/lang/spidermonkey52/patches/patch-python_mozbuild_mozbuild_configure_constants.py
@@ -1,4 +1,4 @@
-$NetBSD: patch-python_mozbuild_mozbuild_configure_constants.py,v 1.1 2018/05/11 19:18:35 jperkin Exp $
+$NetBSD: patch-python_mozbuild_mozbuild_configure_constants.py,v 1.2 2019/10/08 21:16:06 jklos Exp $
Support SunOS.
@@ -12,7 +12,7 @@ Support SunOS.
'WINNT',
)
-@@ -35,6 +36,7 @@ Kernel = EnumString.subclass(
+@@ -35,12 +36,13 @@ Kernel = EnumString.subclass(
'Linux',
'NetBSD',
'OpenBSD',
@@ -20,6 +20,13 @@ Support SunOS.
'WINNT',
)
+ CPU_bitness = {
+ 'aarch64': 64,
+- 'Alpha': 32,
++ 'Alpha': 64,
+ 'arm': 32,
+ 'hppa': 32,
+ 'ia64': 64,
@@ -97,6 +99,7 @@ kernel_preprocessor_checks = {
'Linux': '__linux__',
'NetBSD': '__NetBSD__',