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 6F351158012 for ; Wed, 14 Sep 2022 00:14:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F438E08CA; Wed, 14 Sep 2022 00:14:22 +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 8048AE08CA for ; Wed, 14 Sep 2022 00:14:22 +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 64629340E0D for ; Wed, 14 Sep 2022 00:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F45E576 for ; Wed, 14 Sep 2022 00:14:19 +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: <1663114423.b00ca1b5fec97e1e8bb837ca7c1ca34a32fb1ddc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rpcsvc-proto/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild X-VCS-Directories: net-libs/rpcsvc-proto/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b00ca1b5fec97e1e8bb837ca7c1ca34a32fb1ddc X-VCS-Branch: master Date: Wed, 14 Sep 2022 00:14:19 +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: b2f8a3af-5894-4076-96ec-bfc0235d2f71 X-Archives-Hash: fcc576f9cbcd397a7f1a7c7a2faf0fd0 commit: b00ca1b5fec97e1e8bb837ca7c1ca34a32fb1ddc Author: Sam James gentoo org> AuthorDate: Wed Sep 14 00:13:43 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 14 00:13:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00ca1b5 net-libs/rpcsvc-proto: fix cpp call Bug: https://bugs.gentoo.org/718138 Closes: https://bugs.gentoo.org/870031 Signed-off-by: Sam James gentoo.org> net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild index 68a3bdb3e02f..f7687c8b7eca 100644 --- a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild +++ b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit toolchain-funcs + DESCRIPTION="rpcsvc protocol definitions from glibc" HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto" SRC_URI="https://github.com/thkukuk/rpcsvc-proto/releases/download/v${PV}/${P}.tar.xz" @@ -21,7 +23,7 @@ src_prepare() { # Use ${CHOST}-cpp, not 'cpp': bug #718138 # Ideally we should use @CPP@ but rpcgen makes it hard to use '${CHOST}-gcc -E' - sed -i -s "s/CPP = \"cpp\";/CPP = \"${CHOST}-cpp\";/" rpcgen/rpc_main.c || die + sed -i -s "s/CPP = \"cpp\";/CPP = \"$(tc-getPROG CPP cpp)\";/" rpcgen/rpc_main.c || die } src_install() {