From e01b668c85341d8f6f7ddb7dfad4ed8fbef447dc Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 02:12:15 -0400 Subject: [PATCH] media-gfx/transfig: 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 #870955 this gets further but is still broken with clang16 due to implicit declarations and likely more. Bug: https://bugs.gentoo.org/870955 Signed-off-by: Ionen Wolkens --- media-gfx/transfig/transfig-3.2.5e-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-gfx/transfig/transfig-3.2.5e-r1.ebuild b/media-gfx/transfig/transfig-3.2.5e-r1.ebuild index eba86b40a63e5..51f33e7fd865e 100644 --- a/media-gfx/transfig/transfig-3.2.5e-r1.ebuild +++ b/media-gfx/transfig/transfig-3.2.5e-r1.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 @@ -26,6 +26,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" app-text/rman + sys-devel/gcc >=x11-misc/imake-1.0.8-r1" PATCHES=( @@ -73,7 +74,7 @@ src_prepare() { } src_configure() { - export IMAKECPP=${IMAKECPP:-$(tc-getCPP)} + export IMAKECPP=${IMAKECPP:-${CHOST}-gcc -E} CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" xmkmf || die }