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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1555B13835A for ; Sat, 27 Mar 2021 21:55:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F336E07FA; Sat, 27 Mar 2021 21:55:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 073BFE07FA for ; Sat, 27 Mar 2021 21:55:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 897B5335C34 for ; Sat, 27 Mar 2021 21:55:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6F4E630 for ; Sat, 27 Mar 2021 21:55:12 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1616882101.513769430e0f4001d33f8c430fa44b5abab14ded.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/minicom/files/, net-dialup/minicom/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/minicom/files/minicom-2.7.1-musl.patch net-dialup/minicom/minicom-2.7.1.ebuild X-VCS-Directories: net-dialup/minicom/files/ net-dialup/minicom/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 513769430e0f4001d33f8c430fa44b5abab14ded X-VCS-Branch: master Date: Sat, 27 Mar 2021 21:55:12 +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: d3baa039-ee1f-45e7-aa69-c6bd877f9e51 X-Archives-Hash: a0901d321c99dae11952e81c75ee3ae7 commit: 513769430e0f4001d33f8c430fa44b5abab14ded Author: Conrad Kostecki gentoo org> AuthorDate: Sat Mar 27 21:54:36 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Mar 27 21:55:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51376943 net-dialup/minicom: fix compilation with musl Closes: https://bugs.gentoo.org/714676 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> net-dialup/minicom/files/minicom-2.7.1-musl.patch | 24 +++++++++++++++++++++++ net-dialup/minicom/minicom-2.7.1.ebuild | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/net-dialup/minicom/files/minicom-2.7.1-musl.patch b/net-dialup/minicom/files/minicom-2.7.1-musl.patch new file mode 100644 index 00000000000..da4ce13d0b8 --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.7.1-musl.patch @@ -0,0 +1,24 @@ +--- a/src/dial.c ++++ b/src/dial.c +@@ -39,11 +39,9 @@ + #include "intl.h" + + #ifdef VC_MUSIC +-# if defined(__GLIBC__) + # include + # include + # include +-# endif + #endif + + enum { CURRENT_VERSION = 6 }; +--- a/src/getsdir.h ++++ b/src/getsdir.h +@@ -22,6 +22,7 @@ + * and licensing conditions. See the source, Luke. + */ + ++#include + #include + + typedef struct dirEntry { /* structure of data item */ diff --git a/net-dialup/minicom/minicom-2.7.1.ebuild b/net-dialup/minicom/minicom-2.7.1.ebuild index 0397e7a41fc..8484224b3e1 100644 --- a/net-dialup/minicom/minicom-2.7.1.ebuild +++ b/net-dialup/minicom/minicom-2.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -26,6 +26,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.3-gentoo-runscript.patch "${FILESDIR}"/${PN}-2.7-lockdir.patch "${FILESDIR}"/${PN}-2.7.1-gcc-10.patch + "${FILESDIR}"/${PN}-2.7.1-musl.patch ) src_prepare() {