1 |
commit: 6d7ebecbe32b8fd1d3c8fc450aa949431bf77cfd |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 09:47:58 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=6d7ebecb |
7 |
|
8 |
x11-misc/xtoolwait: 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/870805 |
17 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
18 |
|
19 |
x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild | 10 ++++++---- |
20 |
1 file changed, 6 insertions(+), 4 deletions(-) |
21 |
|
22 |
diff --git a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild b/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild |
23 |
index 379b2beb3faf..f6dfa47f2340 100644 |
24 |
--- a/x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild |
25 |
+++ b/x11-misc/xtoolwait/xtoolwait-1.3-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 |
@@ -16,15 +16,17 @@ KEYWORDS="amd64 ppc x86" |
33 |
RDEPEND=" |
34 |
x11-libs/libX11 |
35 |
x11-libs/libXext" |
36 |
-DEPEND="${RDEPEND}" |
37 |
+DEPEND=" |
38 |
+ ${RDEPEND} |
39 |
+ x11-base/xorg-proto" |
40 |
BDEPEND=" |
41 |
app-text/rman |
42 |
- x11-base/xorg-proto |
43 |
+ sys-devel/gcc |
44 |
>=x11-misc/imake-1.0.8-r1" |
45 |
|
46 |
src_configure() { |
47 |
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
48 |
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die |
49 |
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die |
50 |
} |
51 |
|
52 |
src_compile() { |