From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1718431-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 DF8041582EF
	for <garchives@archives.gentoo.org>; Sun, 16 Feb 2025 13:02:53 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id BAA8234305B
	for <garchives@archives.gentoo.org>; Sun, 16 Feb 2025 13:02:53 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id B10921102CD;
	Sun, 16 Feb 2025 13:02:52 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 bobolink.gentoo.org (Postfix) with ESMTPS id A6B391102CD
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 13:02:52 +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 5DD7C343014
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 13:02:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BAC4C2637
	for <gentoo-commits@lists.gentoo.org>; Sun, 16 Feb 2025 13:02:50 +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: <1739710201.1a88f3abcb27749e709314a3a3903c5918cb6194.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/cvs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-vcs/cvs/cvs-1.12.12-r15.ebuild
X-VCS-Directories: dev-vcs/cvs/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 1a88f3abcb27749e709314a3a3903c5918cb6194
X-VCS-Branch: master
Date: Sun, 16 Feb 2025 13:02:50 +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: 8dddd8d5-37a1-4627-917c-e668413f8844
X-Archives-Hash: 74f018c23278eb6084a09a9e1302c94b

commit:     1a88f3abcb27749e709314a3a3903c5918cb6194
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 12:49:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 12:50:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a88f3ab

dev-vcs/cvs: build w/ -std=gnu17

It's a miracle it builds at all and it was quite the mission to get
it ported to C99 for which we're still carrying patches. Dead upstream.

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

 dev-vcs/cvs/cvs-1.12.12-r15.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/cvs/cvs-1.12.12-r15.ebuild b/dev-vcs/cvs/cvs-1.12.12-r15.ebuild
index 1e8235508d99..0dd5d741cfb6 100644
--- a/dev-vcs/cvs/cvs-1.12.12-r15.ebuild
+++ b/dev-vcs/cvs/cvs-1.12.12-r15.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools pam toolchain-funcs
+inherit autotools flag-o-matic pam toolchain-funcs
 
 DESCRIPTION="Concurrent Versions System - source code revision control tools"
 HOMEPAGE="https://cvs.nongnu.org/"
@@ -67,6 +67,9 @@ src_prepare() {
 }
 
 src_configure() {
+	# bug #943853
+	append-cflags -std=gnu17
+
 	if tc-is-cross-compiler ; then
 		# Sane defaults when cross-compiling (as these tests want to
 		# try and execute code).