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 917D8138335 for ; Mon, 28 Jan 2019 19:36:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A08EE140B; Mon, 28 Jan 2019 13:41:42 +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 49ADFE140B for ; Mon, 28 Jan 2019 13:41:41 +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 893D2335D4D for ; Mon, 28 Jan 2019 13:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 025E7522 for ; Mon, 28 Jan 2019 13:41:39 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1548682881.75fbd9b9e5ef9497cf1d85c85ff2a40a808894bf.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-process/psmisc/files/, sys-process/psmisc/ X-VCS-Repository: proj/musl X-VCS-Files: sys-process/psmisc/files/psmisc-23.1-include_limits.patch sys-process/psmisc/files/psmisc-23.1-musl_ptregs.patch sys-process/psmisc/psmisc-23.1-r1.ebuild X-VCS-Directories: sys-process/psmisc/files/ sys-process/psmisc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 75fbd9b9e5ef9497cf1d85c85ff2a40a808894bf X-VCS-Branch: master Date: Mon, 28 Jan 2019 13:41:39 +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: f215d7f6-9d97-4dcb-b7de-94cace9a6ca6 X-Archives-Hash: b6e913a0a013bb346d0c63c9e70c1225 commit: 75fbd9b9e5ef9497cf1d85c85ff2a40a808894bf Author: stefson yahoo de> AuthorDate: Sun Jan 27 21:14:13 2019 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Mon Jan 28 13:41:21 2019 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=75fbd9b9 sys-process/psmisc: add patchset from alpine to fix breakage Signed-off-by: Anthony G. Basile gentoo.org> .../psmisc/files/psmisc-23.1-include_limits.patch | 45 ++++++++++++++++++++++ .../psmisc/files/psmisc-23.1-musl_ptregs.patch | 45 ++++++++++++++++++++++ sys-process/psmisc/psmisc-23.1-r1.ebuild | 5 +++ 3 files changed, 95 insertions(+) diff --git a/sys-process/psmisc/files/psmisc-23.1-include_limits.patch b/sys-process/psmisc/files/psmisc-23.1-include_limits.patch new file mode 100644 index 0000000..1b474bc --- /dev/null +++ b/sys-process/psmisc/files/psmisc-23.1-include_limits.patch @@ -0,0 +1,45 @@ +Author: Breno Leitao +Date: Thu Apr 6 13:59:57 2017 -0300 + + peekfd: Include headers for ppc64 + + Currently peekfd fails to build on ppc64le architecture with musl + because it does not find reference for __WORDSIZE. + + This patch just includes reference for this macro if it was not + previously defined. + +Index: psmisc-22.21/src/peekfd.c +=================================================================== +--- psmisc-22.21.orig/src/peekfd.c ++++ psmisc-22.21/src/peekfd.c +@@ -37,6 +37,14 @@ + + #include "i18n.h" + ++#if !defined(PATH_MAX) ++#include ++#endif ++ ++#if !defined(__WORDSIZE) ++#include ++#endif ++ + #ifdef I386 + #define REG_ORIG_ACCUM orig_eax + #define REG_ACCUM eax +Index: psmisc-22.21/src/pstree.c +=================================================================== +--- psmisc-22.21.orig/src/pstree.c ++++ psmisc-22.21/src/pstree.c +@@ -45,6 +45,10 @@ + #include "i18n.h" + #include "comm.h" + ++#if !defined(PATH_MAX) ++#include ++#endif ++ + #ifdef WITH_SELINUX + #include + #else diff --git a/sys-process/psmisc/files/psmisc-23.1-musl_ptregs.patch b/sys-process/psmisc/files/psmisc-23.1-musl_ptregs.patch new file mode 100644 index 0000000..1b474bc --- /dev/null +++ b/sys-process/psmisc/files/psmisc-23.1-musl_ptregs.patch @@ -0,0 +1,45 @@ +Author: Breno Leitao +Date: Thu Apr 6 13:59:57 2017 -0300 + + peekfd: Include headers for ppc64 + + Currently peekfd fails to build on ppc64le architecture with musl + because it does not find reference for __WORDSIZE. + + This patch just includes reference for this macro if it was not + previously defined. + +Index: psmisc-22.21/src/peekfd.c +=================================================================== +--- psmisc-22.21.orig/src/peekfd.c ++++ psmisc-22.21/src/peekfd.c +@@ -37,6 +37,14 @@ + + #include "i18n.h" + ++#if !defined(PATH_MAX) ++#include ++#endif ++ ++#if !defined(__WORDSIZE) ++#include ++#endif ++ + #ifdef I386 + #define REG_ORIG_ACCUM orig_eax + #define REG_ACCUM eax +Index: psmisc-22.21/src/pstree.c +=================================================================== +--- psmisc-22.21.orig/src/pstree.c ++++ psmisc-22.21/src/pstree.c +@@ -45,6 +45,10 @@ + #include "i18n.h" + #include "comm.h" + ++#if !defined(PATH_MAX) ++#include ++#endif ++ + #ifdef WITH_SELINUX + #include + #else diff --git a/sys-process/psmisc/psmisc-23.1-r1.ebuild b/sys-process/psmisc/psmisc-23.1-r1.ebuild index bad4699..e52f2cb 100644 --- a/sys-process/psmisc/psmisc-23.1-r1.ebuild +++ b/sys-process/psmisc/psmisc-23.1-r1.ebuild @@ -21,6 +21,11 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS ChangeLog NEWS README ) +PATCHES=( + "${FILESDIR}"/${P}-include_limits.patch + "${FILESDIR}"/${P}-musl_ptregs.patch +) + src_configure() { local myeconfargs=( $(use_enable selinux)