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 5CC89158086 for ; Wed, 17 Nov 2021 02:41:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 626A6E07FA; Wed, 17 Nov 2021 02:41:40 +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 D3A33E07F9 for ; Wed, 17 Nov 2021 02:41:39 +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 706FB342C28 for ; Wed, 17 Nov 2021 02:41:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9E4D161 for ; Wed, 17 Nov 2021 02:41:36 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1637116746.e355b4dd3328425db3613f4136620e4a5ac95d6c.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/m4/files/, sys-devel/m4/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/m4/files/ppc-musl.patch sys-devel/m4/m4-1.4.19.ebuild X-VCS-Directories: sys-devel/m4/ sys-devel/m4/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: e355b4dd3328425db3613f4136620e4a5ac95d6c X-VCS-Branch: master Date: Wed, 17 Nov 2021 02:41:36 +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: c24033b7-9501-4e11-bca4-ed6e72ec81f6 X-Archives-Hash: b9f6a5b1528c8ae51c426a58b4f33edb commit: e355b4dd3328425db3613f4136620e4a5ac95d6c Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Nov 17 02:14:05 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Nov 17 02:39:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e355b4dd sys-devel/m4: add ppc32 musl patch Signed-off-by: Georgy Yakovlev gentoo.org> sys-devel/m4/files/ppc-musl.patch | 14 ++++++++++++++ sys-devel/m4/m4-1.4.19.ebuild | 2 ++ 2 files changed, 16 insertions(+) diff --git a/sys-devel/m4/files/ppc-musl.patch b/sys-devel/m4/files/ppc-musl.patch new file mode 100644 index 000000000000..6ba37f233591 --- /dev/null +++ b/sys-devel/m4/files/ppc-musl.patch @@ -0,0 +1,14 @@ +--- a/lib/sigsegv.c ++++ b/lib/sigsegv.c +@@ -221,8 +221,10 @@ int libsigsegv_version = LIBSIGSEGV_VERSION; + /* both should be equivalent */ + # if 0 + # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1] +-# else ++# elif defined(__GLIBC__) + # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1] ++# else ++# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[1] + # endif + # endif + diff --git a/sys-devel/m4/m4-1.4.19.ebuild b/sys-devel/m4/m4-1.4.19.ebuild index 7713695a5daf..96bbad225664 100644 --- a/sys-devel/m4/m4-1.4.19.ebuild +++ b/sys-devel/m4/m4-1.4.19.ebuild @@ -30,6 +30,8 @@ DEPEND="${RDEPEND}" BDEPEND="app-arch/xz-utils nls? ( sys-devel/gettext )" +PATCHES=( "${FILESDIR}/ppc-musl.patch" ) + src_configure() { local -a myeconfargs=( --enable-changeword