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).

Reply via email to