commit: a6849c4f647e3588fb3e57189559e34501dfffbb Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Thu Feb 27 01:49:08 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 10 02:39:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6849c4f
app-arch/lha: avoid c23 breakage by setting -std=gnu17 Closes: https://bugs.gentoo.org/943900 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-arch/lha/lha-114i_p20210328.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-arch/lha/lha-114i_p20210328.ebuild b/app-arch/lha/lha-114i_p20210328.ebuild index 0537235ed1c5..64f7c730c8ec 100644 --- a/app-arch/lha/lha-114i_p20210328.ebuild +++ b/app-arch/lha/lha-114i_p20210328.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_COMMIT="26950220c9c7590fd603ecaa54a12a52371affed" @@ -26,6 +26,11 @@ src_prepare() { eautoreconf } +src_configure() { + append-cflags -std=gnu17 #bug #943900 + econf +} + src_install() { default dodoc olddoc/ChangeLog Hacking_of_LHa
