diff --git a/srcpkgs/kitty/patches/fix-32bit.patch b/srcpkgs/kitty/patches/fix-32bit.patch deleted file mode 100644 index 21142140475..00000000000 --- a/srcpkgs/kitty/patches/fix-32bit.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 2ee03dde4e0909e079c2486489986408c03a3498 Mon Sep 17 00:00:00 2001 -From: Kovid Goyal -Date: Sun, 9 Mar 2025 22:23:11 +0530 -Subject: [PATCH] Fix #8421 - ---- - kitty/line.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kitty/line.c b/kitty/line.c -index 6e17b5aef7..66540a77f7 100644 ---- a/kitty/line.c -+++ b/kitty/line.c -@@ -189,7 +189,7 @@ prev_char_pos(const Line *self, index_type x, index_type num) { - const CPUCell *ans = self->cpu_cells + x, *limit = self->cpu_cells - 1; - if (ans->is_multicell) ans -= ans->x; - while (num-- && --ans > limit) if (ans->is_multicell) ans -= ans->x; -- return ans > limit ? ans - self->cpu_cells : self->xnum; -+ return ans > limit ? (index_type)(ans - self->cpu_cells) : self->xnum; - } - - diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index b45628689a7..17331e983db 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -1,6 +1,6 @@ # Template file for 'kitty' pkgname=kitty -version=0.40.0 +version=0.40.1 revision=1 build_helper="python3" pycompile_dirs="usr/lib/kitty" @@ -17,7 +17,7 @@ license="GPL-3.0-only" homepage="https://sw.kovidgoyal.net/kitty/" changelog="https://sw.kovidgoyal.net/kitty/changelog.html" distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz" -checksum=f79222090c9468fef9084bef989cc9bf1c9ec37d3980688bdacf0ddca90d4e74 +checksum=ff37b36724b1c496b879c53e0e34985b26ac8ad7f335d72101d0c4aaf277232d python_version=3 nopie_files="/usr/bin/kitten"