commit:     a566d1a5c7f9d722369d0b511f8a881b7804e2ef
Author:     Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
AuthorDate: Tue May  9 14:06:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 10 19:42:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a566d1a5

net-libs/libmicrohttpd: fixed false positive QA warnings

Closes: https://bugs.gentoo.org/898662

Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru>
Closes: https://github.com/gentoo/gentoo/pull/30954
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild | 38 ++++++++++++++++++++++
 net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild | 38 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild
index 91a33a5ffc66..1bb9ef7f324f 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild
@@ -28,6 +28,44 @@ DOCS=( AUTHORS NEWS COPYING README ChangeLog )
 
 PATCHES=( "${FILESDIR}"/${P}-fix-testsuite-with-lto.patch )
 
+# All checks in libmicrohttpd's configure are correct
+# Gentoo Bug #898662
+QA_CONFIG_IMPL_DECL_SKIP=(
+       'pthread_sigmask'
+       'CreateThread'
+       'pthread_attr_init'
+       'pthread_attr_setname_np'
+       'pthread_setname_np'
+       '__builtin_bswap32'
+       '__builtin_bswap64'
+       'WSAPoll'
+       'epoll_create1'
+       'eventfd'
+       'pipe'
+       'pipe2'
+       'socketpair'
+       'gmtime_s'
+       'host_get_clock_service'
+       'clock_get_time'
+       'mach_port_deallocate'
+       'gethrtime'
+       'timespec_get'
+       'gettimeofday'
+       'sendfile'
+       'gnutls_privkey_import_x509_raw'
+       'calloc'
+       'fork'
+       'waitpid'
+       'random'
+       'rand'
+       'getsockname'
+       'sysconf'
+       'sysctl'
+       'sysctlbyname'
+       'usleep'
+       'nanosleep'
+)
+
 multilib_src_configure() {
        ECONF_SOURCE="${S}" \
        econf \

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
index a6645d2c91de..bf4d507938ba 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
@@ -28,6 +28,44 @@ DOCS=( AUTHORS NEWS COPYING README ChangeLog )
 
 PATCHES=( "${FILESDIR}"/${PN}-0.9.75-fix-testsuite-with-lto.patch )
 
+# All checks in libmicrohttpd's configure are correct
+# Gentoo Bug #898662
+QA_CONFIG_IMPL_DECL_SKIP=(
+       'pthread_sigmask'
+       'CreateThread'
+       'pthread_attr_init'
+       'pthread_attr_setname_np'
+       'pthread_setname_np'
+       '__builtin_bswap32'
+       '__builtin_bswap64'
+       'WSAPoll'
+       'epoll_create1'
+       'eventfd'
+       'pipe'
+       'pipe2'
+       'socketpair'
+       'gmtime_s'
+       'host_get_clock_service'
+       'clock_get_time'
+       'mach_port_deallocate'
+       'gethrtime'
+       'timespec_get'
+       'gettimeofday'
+       'sendfile'
+       'gnutls_privkey_import_x509_raw'
+       'calloc'
+       'fork'
+       'waitpid'
+       'random'
+       'rand'
+       'getsockname'
+       'sysconf'
+       'sysctl'
+       'sysctlbyname'
+       'usleep'
+       'nanosleep'
+)
+
 multilib_src_configure() {
        ECONF_SOURCE="${S}" \
        econf \

Reply via email to