commit: f610370333c533c0dae1e0c59d009f23849ff993 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Sep 30 08:44:31 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri Sep 30 10:48:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6103703
x11-misc/dclock: 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. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. Closes: https://bugs.gentoo.org/871357 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> x11-misc/dclock/dclock-2.2.2_p12.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x11-misc/dclock/dclock-2.2.2_p12.ebuild b/x11-misc/dclock/dclock-2.2.2_p12.ebuild index aa4f9a6f28fd..40e1bc5b5574 100644 --- a/x11-misc/dclock/dclock-2.2.2_p12.ebuild +++ b/x11-misc/dclock/dclock-2.2.2_p12.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 @@ -30,6 +30,7 @@ DEPEND=" " BDEPEND=" app-text/rman + sys-devel/gcc >=x11-misc/imake-1.0.8-r1 xft? ( virtual/pkgconfig ) " @@ -54,7 +55,7 @@ src_configure() { fi CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die } src_compile() {
