diff --git a/x11-terms/kitty/kitty-0.41.1.ebuild b/x11-terms/kitty/kitty-0.41.1-r1.ebuild similarity index 94% rename from x11-terms/kitty/kitty-0.41.1.ebuild rename to x11-terms/kitty/kitty-0.41.1-r1.ebuild index 5e6c456f39669..33faf19342cba 100644 --- a/x11-terms/kitty/kitty-0.41.1.ebuild +++ b/x11-terms/kitty/kitty-0.41.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit edo go-env optfeature multiprocessing +inherit edo flag-o-matic go-env optfeature multiprocessing inherit python-single-r1 toolchain-funcs xdg if [[ ${PV} == 9999 ]]; then @@ -136,6 +136,10 @@ src_compile() { tc-export CC local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG) + # may cause startup performance issues (bug #954894), kitty upstream did + # a workaround in the next version but ideally no one should use these + filter-flags -fgraphite-identity -floop-block -floop-parallelize-all + go-env_set_compile_environment local -x GOFLAGS="-p=$(makeopts_jobs) -v -x -buildvcs=false" use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"