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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6C08158091 for ; Tue, 7 Jun 2022 09:06:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 283B5E0809; Tue, 7 Jun 2022 09:06:47 +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 08DD0E0809 for ; Tue, 7 Jun 2022 09:06:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D208F341974 for ; Tue, 7 Jun 2022 09:06:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68A1A46D for ; Tue, 7 Jun 2022 09:06:13 +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: <1654592766.a8fb2bafab98c6c351d8d6754631929986b5c503.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsigsegv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libsigsegv/libsigsegv-2.14.ebuild X-VCS-Directories: dev-libs/libsigsegv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8fb2bafab98c6c351d8d6754631929986b5c503 X-VCS-Branch: master Date: Tue, 7 Jun 2022 09:06:13 +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: ce656b31-f1f9-4afb-b7f9-e22a3d52d787 X-Archives-Hash: 27bcc7d10a3428dbe4d5028bcb065d23 commit: a8fb2bafab98c6c351d8d6754631929986b5c503 Author: Sam James gentoo org> AuthorDate: Tue Jun 7 09:04:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 7 09:06:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8fb2baf dev-libs/libsigsegv: fix cross-build on sparc Closes: https://bugs.gentoo.org/833469 Signed-off-by: Sam James gentoo.org> dev-libs/libsigsegv/libsigsegv-2.14.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/libsigsegv/libsigsegv-2.14.ebuild b/dev-libs/libsigsegv/libsigsegv-2.14.ebuild index f9110af28dc4..e86eb0345c67 100644 --- a/dev-libs/libsigsegv/libsigsegv-2.14.ebuild +++ b/dev-libs/libsigsegv/libsigsegv-2.14.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools toolchain-funcs DESCRIPTION="Library for handling page faults in user mode" HOMEPAGE="https://www.gnu.org/software/libsigsegv/" @@ -20,6 +20,13 @@ src_prepare() { src_configure() { econf --enable-shared --disable-static + + if tc-is-cross-compiler && [[ ${CHOST} == sparc64* ]] ; then + # Tries to use fault-linux-sparc-old.h otherwise which is + # for non-POSIX systems. + # bug #833469 + sed -i -e "s:fault-linux-sparc-old.h:fault-linux-sparc.h:" config.status config.h.in config.h || die + fi } src_install() {