commit:     4eb0d941deb1cd3a25a60fc4777fb618ec3a596f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  7 22:23:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  7 22:23:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb0d941

dev-util/splint: EAPI 8, build w/ -std=gnu17

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

 .../splint/{splint-3.1.2-r2.ebuild => splint-3.1.2-r3.ebuild} | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-util/splint/splint-3.1.2-r2.ebuild 
b/dev-util/splint/splint-3.1.2-r3.ebuild
similarity index 83%
rename from dev-util/splint/splint-3.1.2-r2.ebuild
rename to dev-util/splint/splint-3.1.2-r3.ebuild
index fac73c564bec..e66ac21c4491 100644
--- a/dev-util/splint/splint-3.1.2-r2.ebuild
+++ b/dev-util/splint/splint-3.1.2-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Check C programs for vulnerabilities and programming mistakes"
 HOMEPAGE="https://splint.org/";
@@ -13,7 +13,7 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 
~ppc-macos ~x64-macos"
 
-DEPEND="sys-devel/flex"
+BDEPEND="sys-devel/flex"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-3.1.2-musl.patch
@@ -33,6 +33,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # https://github.com/splintchecker/splint/issues/41 (bug #944117)
+       append-cflags -std=gnu17
+
        # We do not need bison/yacc at all here
        # We definitely need libfl
        BISON=no LEXLIB=-lfl econf

Reply via email to