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 17462158095 for ; Fri, 30 Sep 2022 11:02:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 855022BC099; Fri, 30 Sep 2022 11:02:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 703012BC098 for ; Fri, 30 Sep 2022 11:02:19 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54CA23411AB for ; Fri, 30 Sep 2022 11:02:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87C185FF for ; Fri, 30 Sep 2022 11:02:15 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1664534893.c93bd722e0b57cf2313f3eb97e50e4277cfce344.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xsnap/xsnap-1.5.15-r2.ebuild X-VCS-Directories: x11-misc/xsnap/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: c93bd722e0b57cf2313f3eb97e50e4277cfce344 X-VCS-Branch: master Date: Fri, 30 Sep 2022 11:02:15 +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: c883ae5c-b64a-4bf6-a59f-dd1b895b702c X-Archives-Hash: 2efe269559e50ff4b1ab7599f210c111 commit: c93bd722e0b57cf2313f3eb97e50e4277cfce344 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Sep 30 09:19:37 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Sep 30 10:48:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93bd722 x11-misc/xsnap: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. Bug: https://bugs.gentoo.org/870811 Signed-off-by: Ionen Wolkens gentoo.org> x11-misc/xsnap/xsnap-1.5.15-r2.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild index dd43dcab6432..bc17eb259842 100644 --- a/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild +++ b/x11-misc/xsnap/xsnap-1.5.15-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,11 +24,14 @@ RDEPEND=" ${COMMON_DEPEND} media-fonts/font-misc-misc " -DEPEND="${COMMON_DEPEND}" +DEPEND=" + ${COMMON_DEPEND} + x11-base/xorg-proto +" BDEPEND=" app-text/rman dev-lang/perl - x11-base/xorg-proto + sys-devel/gcc >=x11-misc/imake-1.0.8-r1 " DOCS=( AUTHORS Changelog README ) @@ -50,7 +53,7 @@ src_prepare() { src_configure() { CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die } src_compile() {