mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libconfig: build with gnu17
Fails w/ gnu23 because of old decls. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
inherit autotools flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files"
|
||||
HOMEPAGE="
|
||||
@@ -26,9 +26,14 @@ DEPEND="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fails with c23 b/c old decls
|
||||
append-cflags -std=gnu17
|
||||
|
||||
sed -i \
|
||||
-e '/sleep 3/d' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user