mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/time: build with -std=gnu17
Bug: https://savannah.gnu.org/bugs/index.php?66450 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user