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 908FD158094 for ; Fri, 30 Sep 2022 11:02:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A348FE0E13; Fri, 30 Sep 2022 11:02:18 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6486E0E14 for ; Fri, 30 Sep 2022 11:02:17 +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 B660934118B for ; Fri, 30 Sep 2022 11:02:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05E3B5F6 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: <1664534891.0da382f0a5c38cce6e70a3724471a6c7981730d7.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xautolock/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xautolock/xautolock-2.2_p7.ebuild X-VCS-Directories: x11-misc/xautolock/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 0da382f0a5c38cce6e70a3724471a6c7981730d7 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: a2b8e149-9d9a-411c-9624-7b0731fc2a55 X-Archives-Hash: abce283bf451675f66da344bc655234a commit: 0da382f0a5c38cce6e70a3724471a6c7981730d7 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Sep 30 08:59:31 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Sep 30 10:48:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da382f0 x11-misc/xautolock: 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. Signed-off-by: Ionen Wolkens gentoo.org> x11-misc/xautolock/xautolock-2.2_p7.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11-misc/xautolock/xautolock-2.2_p7.ebuild b/x11-misc/xautolock/xautolock-2.2_p7.ebuild index 03cb72de3b8f..fd84f8e1b114 100644 --- a/x11-misc/xautolock/xautolock-2.2_p7.ebuild +++ b/x11-misc/xautolock/xautolock-2.2_p7.ebuild @@ -19,10 +19,13 @@ KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 sparc x86" RDEPEND=" x11-libs/libXScrnSaver " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" BDEPEND=" app-text/rman - x11-base/xorg-proto + sys-devel/gcc >=x11-misc/imake-1.0.8-r1 " PATCHES=( @@ -38,7 +41,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() {