commit:     1ed28d5657a40a219fd6d30d9129046d90d2bfce
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Mon Dec 30 09:03:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 14:03:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed28d56

net-misc/socat: set QA_CONFIG_IMPL_DECL_SKIP

musl doesn't has getprotobynumber_r

Closes: https://bugs.gentoo.org/924495
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39902
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/socat/socat-1.7.4.4-r1.ebuild | 4 ++++
 net-misc/socat/socat-1.8.0.0.ebuild    | 4 ++++
 net-misc/socat/socat-1.8.0.1.ebuild    | 4 ++++
 net-misc/socat/socat-1.8.0.2.ebuild    | 4 ++++
 4 files changed, 16 insertions(+)

diff --git a/net-misc/socat/socat-1.7.4.4-r1.ebuild 
b/net-misc/socat/socat-1.7.4.4-r1.ebuild
index a4f9e4264807..f759ca5072f4 100644
--- a/net-misc/socat/socat-1.7.4.4-r1.ebuild
+++ b/net-misc/socat/socat-1.7.4.4-r1.ebuild
@@ -46,4 +46,8 @@ src_install() {
 
        docinto html
        dodoc doc/*.html doc/*.css
+
+       if use elibc_musl; then
+               QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r )
+       fi
 }

diff --git a/net-misc/socat/socat-1.8.0.0.ebuild 
b/net-misc/socat/socat-1.8.0.0.ebuild
index e058ec5fe1dc..6f3eb9e0cf57 100644
--- a/net-misc/socat/socat-1.8.0.0.ebuild
+++ b/net-misc/socat/socat-1.8.0.0.ebuild
@@ -57,4 +57,8 @@ src_install() {
 
        docinto html
        dodoc doc/*.html doc/*.css
+
+       if use elibc_musl; then
+               QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r )
+       fi
 }

diff --git a/net-misc/socat/socat-1.8.0.1.ebuild 
b/net-misc/socat/socat-1.8.0.1.ebuild
index 74a3393d7dbb..956b49fe571c 100644
--- a/net-misc/socat/socat-1.8.0.1.ebuild
+++ b/net-misc/socat/socat-1.8.0.1.ebuild
@@ -52,4 +52,8 @@ src_install() {
 
        docinto html
        dodoc doc/*.html doc/*.css
+
+       if use elibc_musl; then
+               QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r )
+       fi
 }

diff --git a/net-misc/socat/socat-1.8.0.2.ebuild 
b/net-misc/socat/socat-1.8.0.2.ebuild
index 52cfbb352af3..2448aa66a86d 100644
--- a/net-misc/socat/socat-1.8.0.2.ebuild
+++ b/net-misc/socat/socat-1.8.0.2.ebuild
@@ -53,4 +53,8 @@ src_install() {
 
        docinto html
        dodoc doc/*.html doc/*.css
+
+       if use elibc_musl; then
+               QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r )
+       fi
 }

Reply via email to