From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1694140-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A2C0715800A
	for <garchives@archives.gentoo.org>; Tue, 26 Nov 2024 03:59:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BE566E07EA;
	Tue, 26 Nov 2024 03:59:57 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4E06AE07EA
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Nov 2024 03:59:55 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3F63B343056
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Nov 2024 03:59:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A4FA13F5
	for <gentoo-commits@lists.gentoo.org>; Tue, 26 Nov 2024 03:59:52 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1732593512.3586e20057184d280e9907451bcbb6e818c409d4.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rsync/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/rsync/rsync-3.3.0-r1.ebuild
X-VCS-Directories: net-misc/rsync/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 3586e20057184d280e9907451bcbb6e818c409d4
X-VCS-Branch: master
Date: Tue, 26 Nov 2024 03:59:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d2df37c2-9d50-40fe-933d-7f7e1bf0d890
X-Archives-Hash: 7bbcf344abb064b574e6d348f2d98ba4

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