commit:     19faca266aa99d0158a60bbdf4682b4023ab95b9
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 21:34:49 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 05:30:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19faca26

app-shells/ksh: filter out -fdiagnostics-color=always

PR: https://github.com/gentoo/gentoo/pull/23012
Issue: https://github.com/ksh93/ksh/issues/379
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-shells/ksh/ksh-1.0.0_beta1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-shells/ksh/ksh-1.0.0_beta1.ebuild 
b/app-shells/ksh/ksh-1.0.0_beta1.ebuild
index 2ef94ea8022c..367ed0231350 100644
--- a/app-shells/ksh/ksh-1.0.0_beta1.ebuild
+++ b/app-shells/ksh/ksh-1.0.0_beta1.ebuild
@@ -45,6 +45,7 @@ src_compile() {
                "-P"
        )
        append-cflags $(test-flags-CC ${extraflags[@]})
+       filter-flags '-fdiagnostics-color=always' # 
https://github.com/ksh93/ksh/issues/379
        export CCFLAGS="${CFLAGS} -fno-strict-aliasing"
 
        tc-export AR CC LD NM

Reply via email to