From f97b83809d14bf7aa32e93b003a2457cf4340139 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 28 May 2025 17:46:45 +0100 Subject: dev-cpp/libmcpp: build w/ -std=gnu17 There's some patches on the linked bug but we're already applying a bunch. We may switch to the mentioned fork though. Closes: https://bugs.gentoo.org/944370 Signed-off-by: Sam James --- dev-cpp/libmcpp/libmcpp-2.7.2_p5-r2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-cpp/libmcpp') diff --git a/dev-cpp/libmcpp/libmcpp-2.7.2_p5-r2.ebuild b/dev-cpp/libmcpp/libmcpp-2.7.2_p5-r2.ebuild index 1cba310fb86c..644634db56e4 100644 --- a/dev-cpp/libmcpp/libmcpp-2.7.2_p5-r2.ebuild +++ b/dev-cpp/libmcpp/libmcpp-2.7.2_p5-r2.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 +inherit autotools flag-o-matic MY_PN=${PN/lib/} MY_P=$(ver_cut 1-4 ${MY_PN}-${PV}) @@ -38,6 +38,9 @@ src_prepare() { } src_configure() { + # bug #944370 + append-cflags -std=gnu17 + econf --enable-mcpplib } -- cgit v1.2.3