1 |
commit: f610370333c533c0dae1e0c59d009f23849ff993 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 08:44:31 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 10:48:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6103703 |
7 |
|
8 |
x11-misc/dclock: 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/871357 |
17 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
18 |
|
19 |
x11-misc/dclock/dclock-2.2.2_p12.ebuild | 5 +++-- |
20 |
1 file changed, 3 insertions(+), 2 deletions(-) |
21 |
|
22 |
diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild b/x11-misc/dclock/dclock-2.2.2_p12.ebuild |
23 |
index aa4f9a6f28fd..40e1bc5b5574 100644 |
24 |
--- a/x11-misc/dclock/dclock-2.2.2_p12.ebuild |
25 |
+++ b/x11-misc/dclock/dclock-2.2.2_p12.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 |
@@ -30,6 +30,7 @@ DEPEND=" |
33 |
" |
34 |
BDEPEND=" |
35 |
app-text/rman |
36 |
+ sys-devel/gcc |
37 |
>=x11-misc/imake-1.0.8-r1 |
38 |
xft? ( virtual/pkgconfig ) |
39 |
" |
40 |
@@ -54,7 +55,7 @@ src_configure() { |
41 |
fi |
42 |
|
43 |
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
44 |
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die |
45 |
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die |
46 |
} |
47 |
|
48 |
src_compile() { |