From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C97115808B for ; Thu, 10 Feb 2022 07:50:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A4E6E091F; Thu, 10 Feb 2022 07:50:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8AD3E091F for ; Thu, 10 Feb 2022 07:50:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4131E343076 for ; Thu, 10 Feb 2022 07:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2A0D1BD for ; Thu, 10 Feb 2022 07:50:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1644479409.a32c13886353c0a861cb0c140385d1bd8879fc79.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/socat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/socat/socat-1.7.4.3.ebuild X-VCS-Directories: net-misc/socat/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a32c13886353c0a861cb0c140385d1bd8879fc79 X-VCS-Branch: master Date: Thu, 10 Feb 2022 07:50:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0cbfa78e-906c-4631-bda3-f70cc7a9d84f X-Archives-Hash: 022152ef6cc3e07e9741fc0769695956 commit: a32c13886353c0a861cb0c140385d1bd8879fc79 Author: Sam James gentoo org> AuthorDate: Thu Feb 10 06:59:31 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 10 07:50:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32c1388 net-misc/socat: fix build on musl Closes: https://bugs.gentoo.org/831016 Signed-off-by: Sam James gentoo.org> net-misc/socat/socat-1.7.4.3.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net-misc/socat/socat-1.7.4.3.ebuild b/net-misc/socat/socat-1.7.4.3.ebuild index 17478f6a210d..ca8f23d51acb 100644 --- a/net-misc/socat/socat-1.7.4.3.ebuild +++ b/net-misc/socat/socat-1.7.4.3.ebuild @@ -43,6 +43,12 @@ 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) \