Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kterm/
Date: Fri, 30 Sep 2022 11:02:25
Message-Id: 1664534894.7f04a2241960a2de4b91f9ae55e26cb1b4f81ae0.ionen@gentoo
1 commit: 7f04a2241960a2de4b91f9ae55e26cb1b4f81ae0
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 10:17:07 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:48:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f04a224
7
8 x11-terms/kterm: force gcc -E for imake's generation
9
10 Requires traditional cpp support and is broken in all sort of ways
11 with clang-cpp / -E. Can still use clang & friends for everything else.
12
13 Ideally these packages need to be built another way or last rited,
14 imake will just accumulate more problems.
15
16 wrt #873631, this only helps a bit and still has several clang issues.
17
18 Bug: https://bugs.gentoo.org/873631
19 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
20
21 x11-terms/kterm/kterm-6.2.0-r7.ebuild | 5 +++--
22 1 file changed, 3 insertions(+), 2 deletions(-)
23
24 diff --git a/x11-terms/kterm/kterm-6.2.0-r7.ebuild b/x11-terms/kterm/kterm-6.2.0-r7.ebuild
25 index 82a0e0e0ef31..5f674d0259b6 100644
26 --- a/x11-terms/kterm/kterm-6.2.0-r7.ebuild
27 +++ b/x11-terms/kterm/kterm-6.2.0-r7.ebuild
28 @@ -1,4 +1,4 @@
29 -# Copyright 1999-2021 Gentoo Authors
30 +# Copyright 1999-2022 Gentoo Authors
31 # Distributed under the terms of the GNU General Public License v2
32
33 EAPI=7
34 @@ -28,6 +28,7 @@ RDEPEND="
35 !<games-board/xscrabble-2.10-r4"
36 DEPEND="${RDEPEND}"
37 BDEPEND="
38 + sys-devel/gcc
39 virtual/pkgconfig
40 x11-misc/gccmakedep
41 >=x11-misc/imake-1.0.8-r1"
42 @@ -48,7 +49,7 @@ src_prepare() {
43
44 src_configure() {
45 CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
46 - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
47 + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die
48 }
49
50 src_compile() {