From 56b5f6e31e082aa5a00e8299cee139f2f2f171ee Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 00:27:53 -0400 Subject: [PATCH] app-office/magicpoint: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. wrt #729526, not entirely fixed as still broken with clang16 Bug: https://bugs.gentoo.org/729526 Signed-off-by: Ionen Wolkens --- app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild b/app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild index 4c584b1af2c8b..4ed63f9f0fa09 100644 --- a/app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild +++ b/app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -49,6 +49,7 @@ DEPEND=" x11-libs/libxkbfile" BDEPEND=" app-text/rman + sys-devel/gcc virtual/pkgconfig x11-base/xorg-proto >=x11-misc/imake-1.0.8-r1 @@ -112,7 +113,7 @@ src_configure() { econf "${myeconfargs[@]}" - export IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" + export IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" xmkmf || die }