!11 [sync] PR-8: add sw_64 support

From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2025-03-06 06:21:34 +00:00 committed by Gitee
commit 8d12c12453
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 29 additions and 1 deletions

24
add-sw_64-support.patch Normal file
View File

@ -0,0 +1,24 @@
From 1b61e8756e2d5ca947f424f75fe8ac81d3024837 Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Tue, 10 Dec 2024 15:36:35 +0800
Subject: [PATCH] add sw_64 and mips64 support
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 1a9271c..27e12ec 100755
--- a/configure
+++ b/configure
@@ -17678,7 +17678,7 @@ printf %s "checking for boostlib >= $boost_lib_version_req... " >&6; }
libsubdirs="lib"
ax_arch=`uname -m`
case $ax_arch in
- x86_64|ppc64*|s390x|sparc64|aarch64|loongarch64|riscv64)
+ x86_64|ppc64*|s390x|sparc64|aarch64|loongarch64|riscv64|sw_64)
libsubdirs="lib64 lib lib64"
;;
esac
--
2.39.3

View File

@ -1,6 +1,6 @@
Name: gearmand
Version: 1.1.20
Release: 2
Release: 3
Summary: A distributed job system
License: BSD
URL: http://www.gearman.org
@ -11,6 +11,7 @@ Source3: gearmand.service
Patch0: gearmand-1.1.12-ppc64le.patch
Patch2: 0001-add-loongarch64-support-for-gearmand.patch
Patch100: add-riscv64-support.patch
Patch101: add-sw_64-support.patch
ExcludeArch: ppc
BuildRequires: gcc-c++ chrpath libuuid-devel boost-devel >= 1.37.0, boost-thread sqlite-devel
BuildRequires: tokyocabinet-devel libevent-devel libmemcached-devel, memcached hiredis-devel
@ -105,6 +106,9 @@ exit 0
%{_mandir}/man3/*
%changelog
* Wed Mar 05 2025 maqi <maqi@uniontech.com> - 1.1.20-3
- add sw_64 support
* Wed Jun 14 2023 EastDong <xudong23@iscas.ac.cn> - 1.1.20-2
- add riscv64 support for gearmand