commit:     5e7905c25b6f9a839e43e40cca383ce2eb425cdb
Author:     Wolfgang Müller <wolf <AT> oriole <DOT> systems>
AuthorDate: Thu Oct  3 10:07:55 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Oct  3 10:07:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e7905c2

www-apps/sblg: mark implicit decls as expected

The specific flavour of configure script, oconfigure [1], tests for
various BSD functionality that is missing on Linux. This triggers
-Wimplicit-function-declaration but can safely be silenced.

[1] https://github.com/kristapsdz/oconfigure

Closes: https://bugs.gentoo.org/940688
Signed-off-by: Wolfgang Müller <wolf <AT> oriole.systems>

 www-apps/sblg/sblg-0.5.12.ebuild | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/www-apps/sblg/sblg-0.5.12.ebuild b/www-apps/sblg/sblg-0.5.12.ebuild
index 4d3f3300b..bfc69619a 100644
--- a/www-apps/sblg/sblg-0.5.12.ebuild
+++ b/www-apps/sblg/sblg-0.5.12.ebuild
@@ -17,6 +17,24 @@ IUSE="examples"
 DEPEND="dev-libs/expat"
 RDEPEND="${DEPEND}"
 
+# oconfigure specifically tests for BSD functionality on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+       crypt_newhash
+       crypt_checkpass
+       warnc
+       errc
+       getexecname
+       getprogname
+       memset_s
+       pledge
+       recallocarray
+       strtonum
+       TAILQ_FOREACH_SAFE
+       timingsafe_bcmp
+       timingsafe_memcmp
+       unveil
+)
+
 src_configure() {
        tc-export CC AR
 

Reply via email to