commit:     1e32a7ebe3369e17b8b7ef7e3b9e63b5a9ae38fe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 05:46:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 05:46:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e32a7eb

app-arch/cpio: build w/ -std=gnu17

Bug: https://savannah.gnu.org/bugs/?66297
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/cpio/cpio-2.15.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-arch/cpio/cpio-2.15.ebuild b/app-arch/cpio/cpio-2.15.ebuild
index 19bc36cde4ff..57ef1aa5ff57 100644
--- a/app-arch/cpio/cpio-2.15.ebuild
+++ b/app-arch/cpio/cpio-2.15.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit multiprocessing
+inherit flag-o-matic multiprocessing
 
 DESCRIPTION="File archival tool which can also read and write tar files"
 HOMEPAGE="https://www.gnu.org/software/cpio/cpio.html";
@@ -30,6 +30,9 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 )
 
 src_configure() {
+       # https://savannah.gnu.org/bugs/?66297
+       append-cflags -std=gnu17
+
        local myeconfargs=(
                $(use_enable nls)
                --bindir="${EPREFIX}"/bin

Reply via email to