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-wm/vtwm/
Date: Fri, 30 Sep 2022 11:02:26
Message-Id: 1664534895.9ad9a90a22515deca0a04f3df582d3c1950dd0fa.ionen@gentoo
1 commit: 9ad9a90a22515deca0a04f3df582d3c1950dd0fa
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 10:28:45 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:48:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad9a90a
7
8 x11-wm/vtwm: 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 Closes: https://bugs.gentoo.org/870925
17 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
18
19 x11-wm/vtwm/vtwm-5.4.7-r2.ebuild | 9 +++++----
20 1 file changed, 5 insertions(+), 4 deletions(-)
21
22 diff --git a/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild
23 index 67ac8de4a833..4f976b42e894 100644
24 --- a/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild
25 +++ b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild
26 @@ -1,4 +1,4 @@
27 -# Copyright 1999-2021 Gentoo Authors
28 +# Copyright 1999-2022 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=7
32 @@ -20,12 +20,13 @@ RDEPEND="x11-libs/libX11
33 x11-libs/libXext
34 x11-libs/libXpm
35 rplay? ( media-sound/rplay )"
36 -DEPEND="${RDEPEND}"
37 +DEPEND="${RDEPEND}
38 + x11-base/xorg-proto"
39 BDEPEND="
40 app-text/rman
41 sys-devel/bison
42 sys-devel/flex
43 - x11-base/xorg-proto
44 + sys-devel/gcc
45 >=x11-misc/imake-1.0.8-r1"
46
47 src_prepare() {
48 @@ -47,7 +48,7 @@ src_prepare() {
49
50 src_configure() {
51 CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
52 - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die "xmkmf failed"
53 + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die "xmkmf failed"
54 }
55
56 src_compile() {