diff --git a/add-sw_64-support.patch b/add-sw_64-support.patch new file mode 100644 index 0000000..89877d9 --- /dev/null +++ b/add-sw_64-support.patch @@ -0,0 +1,24 @@ +From 1b61e8756e2d5ca947f424f75fe8ac81d3024837 Mon Sep 17 00:00:00 2001 +From: maqi +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 diff --git a/gearmand.spec b/gearmand.spec index b184939..7a93193 100644 --- a/gearmand.spec +++ b/gearmand.spec @@ -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 - 1.1.20-3 +- add sw_64 support + * Wed Jun 14 2023 EastDong - 1.1.20-2 - add riscv64 support for gearmand