gentoo-ebuilds/net-misc/rsync/files/rsync-3.4.1-c23.patch
Sam James 903371f5a5
net-misc/rsync: add 3.4.1
Note that the CVE fixes were already backported & fixed in 3.3.0-r2.

The reports of regressions upstream seem to have slowed now.

Bug: https://bugs.gentoo.org/948106
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-29 17:01:49 +00:00

20 lines
493 B
Diff

https://github.com/RsyncProject/rsync/pull/716
From 026ef4cd09660c0a096e285e668b4ba7cd396509 Mon Sep 17 00:00:00 2001
From: Michal Ruprich <mruprich@redhat.com>
Date: Fri, 17 Jan 2025 12:37:57 +0100
Subject: [PATCH] bool is a keyword in C23
--- a/wildtest.c
+++ b/wildtest.c
@@ -32,7 +32,9 @@ int fnmatch_errors = 0;
int wildmatch_errors = 0;
+#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L
typedef char bool;
+#endif
int output_iterations = 0;
int explode_mod = 0;