diff options
author | Sam James <sam@gentoo.org> | 2024-08-31 03:06:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-31 03:07:00 +0100 |
commit | 1a26269e24497a9574ea2668d3d2b10f58c52ce4 (patch) | |
tree | fe32bf125a552d17dcc7e77b4c7ec81dc9d47571 /dev-libs/libconfig | |
parent | sys-auth/sssd: SystemTAP -> SystemTap (diff) | |
download | gentoo-1a26269e24497a9574ea2668d3d2b10f58c52ce4.tar.gz gentoo-1a26269e24497a9574ea2668d3d2b10f58c52ce4.tar.bz2 gentoo-1a26269e24497a9574ea2668d3d2b10f58c52ce4.zip |
dev-libs/libconfig: build with gnu17
Fails w/ gnu23 because of old decls.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libconfig')
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.3.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/libconfig/libconfig-1.7.3.ebuild b/dev-libs/libconfig/libconfig-1.7.3.ebuild index 449f75c98860..36cad66a2189 100644 --- a/dev-libs/libconfig/libconfig-1.7.3.ebuild +++ b/dev-libs/libconfig/libconfig-1.7.3.ebuild @@ -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 } |