commit:     3586e20057184d280e9907451bcbb6e818c409d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 03:58:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 03:58:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3586e200

net-misc/rsync: build w/ -std=gnu17 (for now)

There's fixes upstream but I'd rather wait for the next release unless
someone else wants to backport.

Closes: https://bugs.gentoo.org/943745
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/rsync/rsync-3.3.0-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/rsync/rsync-3.3.0-r1.ebuild 
b/net-misc/rsync/rsync-3.3.0-r1.ebuild
index cbe9b5281c76..3a11a5ea8845 100644
--- a/net-misc/rsync/rsync-3.3.0-r1.ebuild
+++ b/net-misc/rsync/rsync-3.3.0-r1.ebuild
@@ -108,6 +108,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # Should be fixed upstream in next release (>3.3.0) (bug #943745)
+       append-cflags -std=gnu17
+
        local myeconfargs=(
                --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf
                --without-included-popt

Reply via email to