commit:     8c185b15066be7828aa5eff43b3f4f7a476fecd0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 06:25:36 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 06:32:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c185b15

x11-terms/kitty: update live, drop IUSE=debug

Not great but replace -O3 patch by sed, less likely to break for -9999
and isn't a very important change (and checking with qa-sed on release).

Was under the impression this old IUSE=debug did more but seems it
is only for symbols and was no-op with the patch. Now that don't
cleanup addition of e.g. -g3, the IUSE would get in the way of
users setting their own debug flags.

Live still need more updates for running tests, but will handle after
it settles down and stops changing when add next release.

Closes: https://bugs.gentoo.org/857477
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/x11-terms/kitty/kitty-9999.ebuild 
b/x11-terms/kitty/kitty-9999.ebuild
index 531d4fb7df94..b915b34e33d7 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://sw.kovidgoyal.net/kitty/";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="+X debug test transfer wayland"
+IUSE="+X test transfer wayland"
 REQUIRED_USE="
        || ( X wayland )
        ${PYTHON_REQUIRED_USE}"
@@ -64,15 +64,12 @@ BDEPEND="
        wayland? ( dev-util/wayland-scanner )"
 [[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( 
sec-keys/openpgp-keys-kovidgoyal )"
 
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.23.1-flags.patch
-)
-
 src_prepare() {
        default
 
        sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
                -e "/num_workers = /s/=.*/= $(makeopts_jobs)/" \
+               -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \
                -i setup.py || die
 
        if use !transfer; then
@@ -102,7 +99,6 @@ src_compile() {
                --shell-integration="enabled no-rc"
                --update-check-interval=0
                --verbose
-               $(usev debug --debug)
        )
 
        echo "${setup[*]}"

Reply via email to