1 |
commit: b0bc4c395b0db980013ffd2d4a0174ece2058b4d |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 09:42:35 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 10:48:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0bc4c39 |
7 |
|
8 |
x11-misc/xtitle: 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 |
Haven't looked closely for possible quirks, but this should be |
14 |
migrated to not use imake (builds nothing, just shell scripts). |
15 |
|
16 |
Closes: https://bugs.gentoo.org/870916 |
17 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
18 |
|
19 |
x11-misc/xtitle/xtitle-1.0.4.ebuild | 6 ++++-- |
20 |
1 file changed, 4 insertions(+), 2 deletions(-) |
21 |
|
22 |
diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild |
23 |
index ca330584c334..eb54d4f2901c 100644 |
24 |
--- a/x11-misc/xtitle/xtitle-1.0.4.ebuild |
25 |
+++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild |
26 |
@@ -13,13 +13,15 @@ LICENSE="GPL-2+" |
27 |
SLOT="0" |
28 |
KEYWORDS="amd64 x86" |
29 |
|
30 |
-BDEPEND=">=x11-misc/imake-1.0.8-r1" |
31 |
+BDEPEND=" |
32 |
+ sys-devel/gcc |
33 |
+ >=x11-misc/imake-1.0.8-r1" |
34 |
|
35 |
HTML_DOCS=( xtitle.html ) |
36 |
|
37 |
src_configure() { |
38 |
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
39 |
- IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die |
40 |
+ IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die |
41 |
} |
42 |
|
43 |
src_install() { |