diff --git a/backport-fixed-build-error-on-ia64-NonStop.patch b/backport-fixed-build-error-on-ia64-NonStop.patch new file mode 100644 index 0000000000000000000000000000000000000000..bad7afedda885553dbbacf1b5b0f1b043344e76d --- /dev/null +++ b/backport-fixed-build-error-on-ia64-NonStop.patch @@ -0,0 +1,26 @@ +Origin: https://github.com/RsyncProject/rsync/commit/14f33837dc007ab68d6bff5a6ebc79742ef2148d +From 14f33837dc007ab68d6bff5a6ebc79742ef2148d Mon Sep 17 00:00:00 2001 +From: Andrew Tridgell +Date: Thu, 16 Jan 2025 08:17:30 +1100 +Subject: [PATCH] fixed build error on ia64 NonStop + +it treats missing prototype as an error, not warning +--- + popt/findme.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/popt/findme.c b/popt/findme.c +index 49fc9f6f0..406d66b21 100644 +--- a/popt/findme.c ++++ b/popt/findme.c +@@ -9,6 +9,10 @@ + #include "system.h" + #include "findme.h" + ++#ifndef HAVE_STRLCPY ++size_t strlcpy(char *d, const char *s, size_t bufsize); ++#endif ++ + const char * findProgramPath(const char * argv0) + { + char * path = getenv("PATH"); diff --git a/rsync.spec b/rsync.spec index f1c92358b4fc9916a111d0bdcf0d0a8db15b8067..36889853d30ffc41e9563cf7e725cbf41e5c28b4 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,6 +1,6 @@ Name: rsync Version: 3.4.1 -Release: 1 +Release: 2 Summary: Fast incremental file transfer utility License: GPL-3.0-or-later URL: https://rsync.samba.org/ @@ -11,6 +11,8 @@ Source3: rsyncd.conf Source4: rsyncd.sysconfig Source5: rsyncd@.service +Patch1: backport-fixed-build-error-on-ia64-NonStop.patch + BuildRequires: git gcc systemd libacl-devel libattr-devel autoconf popt-devel BuildRequires: lz4-devel openssl-devel libzstd-devel zlib-devel xxhash-devel BuildRequires: python3-commonmark @@ -85,6 +87,9 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service %{_mandir}/man5/rsyncd.conf.5* %changelog +* Fri Nov 14 2025 huangwenhua - 3.4.1-2 +- DESC: backport fixed build error on ia64 NonStop + * Thu Jan 16 2025 Funda Wang - 3.4.1-1 - update to 3.4.1