commit: 6ab768afe83368729715a9f3f1104cbb2f3d64f7 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Mar 10 01:50:20 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 10 01:50:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab768af
dev-libs/libdnsres: build w/ -std=gnu17 Closes: https://bugs.gentoo.org/912307 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{libdnsres-0.1a-r3.ebuild => libdnsres-0.1a-r4.ebuild} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild b/dev-libs/libdnsres/libdnsres-0.1a-r4.ebuild similarity index 84% rename from dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild rename to dev-libs/libdnsres/libdnsres-0.1a-r4.ebuild index 2ecf5403264a..d46ecf976c76 100644 --- a/dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild +++ b/dev-libs/libdnsres/libdnsres-0.1a-r4.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -inherit autotools +EAPI=8 + +inherit autotools flag-o-matic DESCRIPTION="A non-blocking DNS resolver library" HOMEPAGE="https://www.monkey.org/~provos/libdnsres/" @@ -17,6 +18,7 @@ DEPEND="dev-libs/libevent" RDEPEND="${DEPEND}" DOCS=( README ) + PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) @@ -28,6 +30,9 @@ src_prepare() { } src_configure() { + # bug #912307 + append-flags -std=gnu17 + econf $(use_enable static-libs static) }
