From 4729a6ffa49f28167a928bfcfa64093aab1c5c74 Mon Sep 17 00:00:00 2001 From: yangchenguang Date: Mon, 24 Apr 2023 10:32:38 +0800 Subject: [PATCH] Add support loongarch64 Signed-off-by: yangchenguang --- ...asso-config.-add-loongarch64-support.patch | 35 +++++++++++++++++++ lasso.spec | 6 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0001-lasso-config.-add-loongarch64-support.patch diff --git a/0001-lasso-config.-add-loongarch64-support.patch b/0001-lasso-config.-add-loongarch64-support.patch new file mode 100644 index 0000000..46f05bb --- /dev/null +++ b/0001-lasso-config.-add-loongarch64-support.patch @@ -0,0 +1,35 @@ +From ac98cfa0e08962cbd2c8598b79e7fdeb172ed408 Mon Sep 17 00:00:00 2001 +From: Shi Pujin +Date: Tue, 16 Nov 2021 11:15:42 +0000 +Subject: [PATCH] lasso: config.*: add loongarch64 support + + +diff --git a/config.guess b/config.guess +index f50dcdb..e1cbc54 100755 +--- a/config.guess ++++ b/config.guess +@@ -992,6 +992,9 @@ EOF + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; ++ loongarch64:Linux:*:* | loongarch32:Linux:*:*) ++ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" ++ exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; +diff --git a/config.sub b/config.sub +index 1d8e98b..a0be608 100755 +--- a/config.sub ++++ b/config.sub +@@ -267,6 +267,7 @@ case $basic_machine in + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ ++ | loongarch64 | loongarch32 \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ +-- +2.27.0 + diff --git a/lasso.spec b/lasso.spec index c91e32a..68321ad 100644 --- a/lasso.spec +++ b/lasso.spec @@ -1,12 +1,13 @@ Name: lasso Version: 2.7.0 -Release: 1 +Release: 2 Summary: Liberty Alliance Single Sign On License: GPLv2+ URL: http://lasso.entrouvert.org/ Source: http://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz Requires: xmlsec1 >= 1.2.25-4 Patch1: lasso-python-dont-decref-true-false.patch +Patch2: 0001-lasso-config.-add-loongarch64-support.patch BuildRequires: autoconf automake check-devel glib2-devel gtk-doc libtool BuildRequires: libxml2-devel openssl-devel swig xmlsec1-devel >= 1.2.25-4 @@ -111,6 +112,9 @@ fi %doc AUTHORS NEWS README %changelog +* Mon Apr 24 2023 yangchenguang - 2.7.0-2 +- Add support loongarch64 + * Mon Oct 17 2022 wangkai - 2.7.0-1 - Upgrade to 2.7.0 -- Gitee