From b0bc4c395b0db980013ffd2d4a0174ece2058b4d Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 05:42:35 -0400 Subject: [PATCH] x11-misc/xtitle: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Can still use clang & friends for everything else. Haven't looked closely for possible quirks, but this should be migrated to not use imake (builds nothing, just shell scripts). Closes: https://bugs.gentoo.org/870916 Signed-off-by: Ionen Wolkens --- x11-misc/xtitle/xtitle-1.0.4.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x11-misc/xtitle/xtitle-1.0.4.ebuild b/x11-misc/xtitle/xtitle-1.0.4.ebuild index ca330584c334c..eb54d4f2901c5 100644 --- a/x11-misc/xtitle/xtitle-1.0.4.ebuild +++ b/x11-misc/xtitle/xtitle-1.0.4.ebuild @@ -13,13 +13,15 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -BDEPEND=">=x11-misc/imake-1.0.8-r1" +BDEPEND=" + sys-devel/gcc + >=x11-misc/imake-1.0.8-r1" HTML_DOCS=( xtitle.html ) src_configure() { CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die } src_install() {