commit:     104d2e0b10d4e336a6cc7c466a42aa04cded2af4
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue May 21 22:54:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 01:06:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104d2e0b

sys-devel/autogen: add whitelist for false positive configure implicit decls

These might exist on Solaris but anywhere they error out it's a false
positive.

Closes: https://bugs.gentoo.org/924961
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/autogen/autogen-5.18.16-r3.ebuild | 6 ++++++
 sys-devel/autogen/autogen-5.18.16-r4.ebuild | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/sys-devel/autogen/autogen-5.18.16-r3.ebuild 
b/sys-devel/autogen/autogen-5.18.16-r3.ebuild
index e908a1837ef5..0dc9be962a3f 100644
--- a/sys-devel/autogen/autogen-5.18.16-r3.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r3.ebuild
@@ -29,6 +29,12 @@ BDEPEND="sys-apps/which"
 # Let's fix it upstream after next autogen release if it happens.
 QA_CONFIGURE_OPTIONS+=" --enable-snprintfv-convenience"
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+       # libgen.h is legacy and linux doesn't include -lgen nor nonstandard
+       # functions. bug #924961
+       pathfind
+)
+
 PATCHES=(
        "${FILESDIR}"/${PN}-5.18.16-no-werror.patch
        "${FILESDIR}"/${PN}-5.18.16-rpath.patch

diff --git a/sys-devel/autogen/autogen-5.18.16-r4.ebuild 
b/sys-devel/autogen/autogen-5.18.16-r4.ebuild
index d767e53a32bf..30bbc056bbc7 100644
--- a/sys-devel/autogen/autogen-5.18.16-r4.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r4.ebuild
@@ -27,6 +27,12 @@ DEPEND="${RDEPEND}"
 # Let's fix it upstream after next autogen release if it happens.
 QA_CONFIGURE_OPTIONS+=" --enable-snprintfv-convenience"
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+       # libgen.h is legacy and linux doesn't include -lgen nor nonstandard
+       # functions. bug #924961
+       pathfind
+)
+
 PATCHES=(
        "${FILESDIR}"/${PN}-5.18.16-no-werror.patch
        "${FILESDIR}"/${PN}-5.18.16-rpath.patch

Reply via email to