From 445d56b1f8a0227ce3654b5eaac415fcc5a232ca Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 17 Nov 2024 01:55:13 +0000 Subject: sys-process/time: build with -std=gnu17 Bug: https://savannah.gnu.org/bugs/index.php?66450 Signed-off-by: Sam James --- sys-process/time/time-1.9-r1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sys-process') diff --git a/sys-process/time/time-1.9-r1.ebuild b/sys-process/time/time-1.9-r1.ebuild index 7eea0b8d8d24..530fc7a3d101 100644 --- a/sys-process/time/time-1.9-r1.ebuild +++ b/sys-process/time/time-1.9-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit flag-o-matic + DESCRIPTION="Displays info about resources used by a program" HOMEPAGE="https://www.gnu.org/directory/time.html" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" @@ -16,3 +18,10 @@ BDEPEND="sys-apps/texinfo" PATCHES=( "${FILESDIR}"/${PN}-1.9-implicit-func-decl-clang.patch ) + +src_configure() { + # https://savannah.gnu.org/bugs/index.php?66450 + append-cflags -std=gnu17 + + econf +} -- cgit v1.2.3-65-gdbad