commit:     04863e6013b3f86a8398f791d3e10ddf7df04d6a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 21:47:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 21:47:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04863e60

sys-devel/m4: build with -std=gnu17

Bug: https://savannah.gnu.org/support/index.php?111150
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/m4/m4-1.4.19-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-devel/m4/m4-1.4.19-r2.ebuild b/sys-devel/m4/m4-1.4.19-r2.ebuild
index c0967e47f749..93f8c13a49f8 100644
--- a/sys-devel/m4/m4-1.4.19-r2.ebuild
+++ b/sys-devel/m4/m4-1.4.19-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/m4.asc
-inherit verify-sig
+inherit flag-o-matic verify-sig
 
 DESCRIPTION="GNU macro processor"
 HOMEPAGE="https://www.gnu.org/software/m4/m4.html";
@@ -65,6 +65,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # https://savannah.gnu.org/support/index.php?111150
+       append-cflags -std=gnu17
+
        local -a myeconfargs=(
                --enable-changeword
 

Reply via email to