commit:     f335bad455c9308a8a4df5997f9e772b6288f056
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Mon Nov 21 08:03:46 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 01:42:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f335bad4

net-misc/socat: fix 1.7.4.4 build on musl

The issue with undefined reference to getprotobynumber_r for musl was
fixed in 1.7.4.4 in commit [1]. It is no longer wanted to treat musl
configuration specially.

[1] 
https://repo.or.cz/socat.git/commitdiff/75cb44bc90577c3487458564ca803163681319f1

Bug: https://bugs.gentoo.org/831016
Closes: https://bugs.gentoo.org/879601
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/28358
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/socat/socat-1.7.4.4.ebuild | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/net-misc/socat/socat-1.7.4.4.ebuild 
b/net-misc/socat/socat-1.7.4.4.ebuild
index 2c36251c7698..8693b3348e41 100644
--- a/net-misc/socat/socat-1.7.4.4.ebuild
+++ b/net-misc/socat/socat-1.7.4.4.ebuild
@@ -43,12 +43,6 @@ src_configure() {
 
        tc-export AR
 
-       # getprotobynumber_r doesn't exist on musl, so avoid probing for it
-       # and possibly getting it wrong. TODO: fix configure?
-       # (Grabbed from Alpine Linux: 
https://git.alpinelinux.org/aports/commit/main/socat/APKBUILD?id=5edc9195355ced3db991c1a7cda5648d52019b11)
-       # bug #831016
-       use elibc_musl && export sc_cv_getprotobynumber_r=2
-
        econf \
                $(use_enable ssl openssl) \
                $(use_enable readline) \

Reply via email to