commit:     9165284da18643f84258374610687a347937face
Author:     Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru>
AuthorDate: Wed May 22 11:51:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 17:02:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9165284d

net-libs/libmicrohttpd: mute QA warning with clang

This is actually a workaround for clang bug.

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

 net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild | 2 ++
 net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild | 6 ++++++
 net-libs/libmicrohttpd/libmicrohttpd-1.0.1.ebuild  | 6 ++++++
 3 files changed, 14 insertions(+)

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
index 03bfe985f82f..23248a0a4ddd 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.76.ebuild
@@ -30,6 +30,7 @@ PATCHES=( 
"${FILESDIR}"/${PN}-0.9.75-fix-testsuite-with-lto.patch )
 
 # All checks in libmicrohttpd's configure are correct
 # Gentoo Bug #898662
+# Gentoo Bug #923760
 QA_CONFIG_IMPL_DECL_SKIP=(
        'pthread_sigmask'
        'CreateThread'
@@ -64,6 +65,7 @@ QA_CONFIG_IMPL_DECL_SKIP=(
        'sysctlbyname'
        'usleep'
        'nanosleep'
+       'stpncpy'
 )
 
 multilib_src_configure() {

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild
index d0eed498d5a5..4e246d236516 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild
@@ -27,6 +27,12 @@ BDEPEND="ssl? ( virtual/pkgconfig )"
 
 DOCS=( AUTHORS NEWS COPYING README ChangeLog )
 
+# All checks in libmicrohttpd's configure are correct
+# Gentoo Bug #923760
+QA_CONFIG_IMPL_DECL_SKIP=(
+       'stpncpy'
+)
+
 pkg_pretend() {
        if use kernel_linux ; then
                CONFIG_CHECK=""

diff --git a/net-libs/libmicrohttpd/libmicrohttpd-1.0.1.ebuild 
b/net-libs/libmicrohttpd/libmicrohttpd-1.0.1.ebuild
index bf51ab887652..149b791325ff 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-1.0.1.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-1.0.1.ebuild
@@ -27,6 +27,12 @@ BDEPEND="ssl? ( virtual/pkgconfig )"
 
 DOCS=( AUTHORS NEWS COPYING README ChangeLog )
 
+# All checks in libmicrohttpd's configure are correct
+# Gentoo Bug #923760
+QA_CONFIG_IMPL_DECL_SKIP=(
+       'stpncpy'
+)
+
 pkg_pretend() {
        if use kernel_linux ; then
                CONFIG_CHECK=""

Reply via email to