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 19E5D1382C5 for ; Fri, 21 May 2021 01:07:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14222E088F; Fri, 21 May 2021 01:07:14 +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 E9823E088F for ; Fri, 21 May 2021 01:07:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AE94A33F6A5 for ; Fri, 21 May 2021 01:07:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24B6F729 for ; Fri, 21 May 2021 01:07:11 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1621559196.0ec73cec03b0a344d2aa4dad638cac47219e3611.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/autofs/, net-fs/autofs/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/autofs/autofs-5.1.6-r1.ebuild net-fs/autofs/autofs-5.1.7.ebuild net-fs/autofs/files/autofs-5.1.6-musl.patch X-VCS-Directories: net-fs/autofs/ net-fs/autofs/files/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 0ec73cec03b0a344d2aa4dad638cac47219e3611 X-VCS-Branch: master Date: Fri, 21 May 2021 01:07:11 +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: 7e322e33-2fd6-451a-80c5-dcf5266b2bc2 X-Archives-Hash: 7f82f723200d38431d6c6140464b8eb2 commit: 0ec73cec03b0a344d2aa4dad638cac47219e3611 Author: Yixun Lan gentoo org> AuthorDate: Fri May 21 01:06:21 2021 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri May 21 01:06:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec73cec net-fs/autofs: fix musl build error Closes: https://bugs.gentoo.org/791202 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> net-fs/autofs/autofs-5.1.6-r1.ebuild | 1 + net-fs/autofs/autofs-5.1.7.ebuild | 1 + net-fs/autofs/files/autofs-5.1.6-musl.patch | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/net-fs/autofs/autofs-5.1.6-r1.ebuild b/net-fs/autofs/autofs-5.1.6-r1.ebuild index 3422926b94d..743ec651949 100644 --- a/net-fs/autofs/autofs-5.1.6-r1.ebuild +++ b/net-fs/autofs/autofs-5.1.6-r1.ebuild @@ -38,6 +38,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${P}-glibc.patch" + "${FILESDIR}/${P}-musl.patch" "${FILESDIR}/${P}-pid.patch" ) diff --git a/net-fs/autofs/autofs-5.1.7.ebuild b/net-fs/autofs/autofs-5.1.7.ebuild index 5dfef5feafa..5387d293f41 100644 --- a/net-fs/autofs/autofs-5.1.7.ebuild +++ b/net-fs/autofs/autofs-5.1.7.ebuild @@ -38,6 +38,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${P}-glibc.patch" + "${FILESDIR}/${PN}-5.1.6-musl.patch" "${FILESDIR}/${PN}-5.1.6-pid.patch" ) diff --git a/net-fs/autofs/files/autofs-5.1.6-musl.patch b/net-fs/autofs/files/autofs-5.1.6-musl.patch new file mode 100644 index 00000000000..bdcc0db9a9f --- /dev/null +++ b/net-fs/autofs/files/autofs-5.1.6-musl.patch @@ -0,0 +1,12 @@ +--- a/include/automount.h ++++ b/include/automount.h +@@ -25,6 +25,9 @@ + #include "list.h" + + #include ++#ifndef __GLIBC__ ++#include ++#endif + + #include "defaults.h" + #include "state.h"