commit:     58c1209445f2a301076c966ffe14972eaaaa1438
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun May 26 06:51:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 26 23:11:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c12094

sys-process/audit: add whitelist for false positive configure implicit decls

Only fails on musl, but does so consistently regardless of -Werror=*.

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

 sys-process/audit/audit-3.1.1.ebuild | 8 +++++++-
 sys-process/audit/audit-3.1.2.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/sys-process/audit/audit-3.1.1.ebuild 
b/sys-process/audit/audit-3.1.1.ebuild
index ab8e362008db..ffb298d10bcd 100644
--- a/sys-process/audit/audit-3.1.1.ebuild
+++ b/sys-process/audit/audit-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,6 +45,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-3.0.8-musl-malloc.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # missing on musl. Uses handrolled AC_LINK_IFELSE but fails at link time
+       # for older compilers regardless. bug #898828
+       strndupa
+)
+
 src_prepare() {
        # audisp-remote moved in multilib_src_install_all
        sed -i \

diff --git a/sys-process/audit/audit-3.1.2.ebuild 
b/sys-process/audit/audit-3.1.2.ebuild
index d2b9730673da..c599682bae4c 100644
--- a/sys-process/audit/audit-3.1.2.ebuild
+++ b/sys-process/audit/audit-3.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -42,6 +42,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-3.0.8-musl-malloc.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # missing on musl. Uses handrolled AC_LINK_IFELSE but fails at link time
+       # for older compilers regardless. bug #898828
+       strndupa
+)
+
 src_prepare() {
        # audisp-remote moved in multilib_src_install_all
        sed -i \

Reply via email to