From 8db2af6c1152c5d5d0583ebc38188a57e3ac9339 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 20 Jan 2024 12:13:30 -0500 Subject: [PATCH] kitty: update to 0.32.0. --- srcpkgs/kitty/patches/arm.patch | 23 +++++++++++++++++++++++ srcpkgs/kitty/template | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/kitty/patches/arm.patch diff --git a/srcpkgs/kitty/patches/arm.patch b/srcpkgs/kitty/patches/arm.patch new file mode 100644 index 0000000000000..3a047337c845a --- /dev/null +++ b/srcpkgs/kitty/patches/arm.patch @@ -0,0 +1,23 @@ +From d6116f74260a53a94aa1a1438a76e67753f63fdc Mon Sep 17 00:00:00 2001 +From: Kovid Goyal +Date: Sun, 21 Jan 2024 08:33:59 +0530 +Subject: [PATCH] Fix #7026 + +--- + setup.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/setup.py b/setup.py +index 35e69d00df..e4d8bc8517 100755 +--- a/setup.py ++++ b/setup.py +@@ -454,6 +454,9 @@ def init_env( + # Universal build fails with -fcf-protection clang is not smart enough to filter it out for the ARM part + intel_control_flow_protection = '-fcf-protection=full' if ccver >= (9, 0) and not build_universal_binary else '' + control_flow_protection = arm_control_flow_protection if is_arm else intel_control_flow_protection ++ if control_flow_protection: ++ if not test_compile(cc, control_flow_protection): ++ control_flow_protection = '' + cflags_ = os.environ.get( + 'OVERRIDE_CFLAGS', ( + f'-Wextra {float_conversion} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {std}' diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index 0b885295bf869..4e7d11dc15c54 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -1,6 +1,6 @@ # Template file for 'kitty' pkgname=kitty -version=0.31.0 +version=0.32.0 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=d122497134abab8e25dfcb6b127af40cfe641980e007f696732f70ed298198f5 +checksum=7881a95c1a43d03b230b6ff817e4b5cfec267bac3dbd6dcbbf6c095d476d776d python_version=3 nopie_files="/usr/bin/kitten"