commit: d51663a8453424cd5c57800066309e48a16361bd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 17:07:53 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 17:08:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d51663a8
app-arch/libarchive: Silence implicit function decl false positives
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-arch/libarchive/libarchive-3.6.2-r1.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
b/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
index 66242292e6c3..513c6d16e2f5 100644
--- a/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
+++ b/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
@@ -48,6 +48,13 @@ BDEPEND="
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
"
+# false positives (checks for libc-defined hash functions)
+QA_CONFIG_IMPL_DECL_SKIP=(
+ SHA256_Init SHA256_Update SHA256_Final
+ SHA384_Init SHA384_Update SHA384_Final
+ SHA512_Init SHA512_Update SHA512_Final
+)
+
multilib_src_configure() {
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923