You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2022/02/25 15:30:37 UTC
[couchdb-pkg] 01/02: Backport configure fix to allow SM68 on ARM
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch 3.2.1
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
commit e3130565e617abcd41321190e195fc4935b780ae
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Feb 7 11:56:56 2022 -0500
Backport configure fix to allow SM68 on ARM
---
...0001-Properly-test-for-SM60-on-ARM-builds.patch | 29 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/0001-Properly-test-for-SM60-on-ARM-builds.patch b/debian/patches/0001-Properly-test-for-SM60-on-ARM-builds.patch
new file mode 100644
index 0000000..40fd1ca
--- /dev/null
+++ b/debian/patches/0001-Properly-test-for-SM60-on-ARM-builds.patch
@@ -0,0 +1,29 @@
+From 016385f408e83e4058fbc8116c257fd579cc5688 Mon Sep 17 00:00:00 2001
+From: Adam Kocoloski <ko...@apache.org>
+Date: Thu, 20 Jan 2022 19:55:32 -0500
+Subject: [PATCH] Properly test for SM60 on ARM builds
+
+Already fixed by @lostnet on main.
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 9c22181a1..0bcbfaef3 100755
+--- a/configure
++++ b/configure
+@@ -224,9 +224,9 @@ parse_opts() {
+
+ parse_opts $@
+
+-if [ "${ARCH}" = "aarch64" ] && [ "${SM_VSN}" != "1.8.5" ]
++if [ "${ARCH}" = "aarch64" ] && [ "${SM_VSN}" = "60" ]
+ then
+- echo "ERROR: SpiderMonkey 60 is known broken on ARM 64 (aarch64). Use 1.8.5 instead."
++ echo "ERROR: SpiderMonkey 60 is known broken on ARM 64 (aarch64). Use another version instead."
+ exit 1
+ fi
+
+--
+2.34.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ae636c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Properly-test-for-SM60-on-ARM-builds.patch