summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-17 05:46:41 +0000
committerSam James <sam@gentoo.org>2024-11-17 05:46:41 +0000
commit1e32a7ebe3369e17b8b7ef7e3b9e63b5a9ae38fe (patch)
tree3e545df28b046920d2a354dd7e421a70a8f9129e /app-arch
parentsys-libs/ncurses: add link to upstream bug for C23 issue (diff)
downloadgentoo-1e32a7ebe3369e17b8b7ef7e3b9e63b5a9ae38fe.tar.gz
gentoo-1e32a7ebe3369e17b8b7ef7e3b9e63b5a9ae38fe.tar.bz2
gentoo-1e32a7ebe3369e17b8b7ef7e3b9e63b5a9ae38fe.zip
app-arch/cpio: build w/ -std=gnu17
Bug: https://savannah.gnu.org/bugs/?66297 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/cpio/cpio-2.15.ebuild5
1 files changed, 4 insertions, 1 deletions
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