From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20A93158041 for ; Sat, 16 Mar 2024 07:25:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5736E29C2; Sat, 16 Mar 2024 07:25:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B53F2E29C2 for ; Sat, 16 Mar 2024 07:25:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9265335DCC for ; Sat, 16 Mar 2024 07:25:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18FF014A8 for ; Sat, 16 Mar 2024 07:25:37 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1710573913.5b7011824d4afdc77c1cd28a2d46445208c77145.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/files/, x11-terms/kitty/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/kitty/files/kitty-0.33.0-no-simd.patch x11-terms/kitty/kitty-0.33.0.ebuild X-VCS-Directories: x11-terms/kitty/files/ x11-terms/kitty/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 5b7011824d4afdc77c1cd28a2d46445208c77145 X-VCS-Branch: master Date: Sat, 16 Mar 2024 07:25:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9649ce9-f343-4807-8e30-695c0f14bbb4 X-Archives-Hash: 08c2c1ea8fcaf526ec652e09a969462e commit: 5b7011824d4afdc77c1cd28a2d46445208c77145 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Mar 16 07:21:51 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Mar 16 07:25:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b701182 x11-terms/kitty: backport fix for non-x86/amd64/arm64 Only tested on amd64 by forcing CPPFLAGS=-DKITTY_NO_SIMD which fails like it would on any arches where simde is not used. Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/kitty/files/kitty-0.33.0-no-simd.patch | 12 ++++++++++++ x11-terms/kitty/kitty-0.33.0.ebuild | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/x11-terms/kitty/files/kitty-0.33.0-no-simd.patch b/x11-terms/kitty/files/kitty-0.33.0-no-simd.patch new file mode 100644 index 000000000000..c1366c0ce73c --- /dev/null +++ b/x11-terms/kitty/files/kitty-0.33.0-no-simd.patch @@ -0,0 +1,12 @@ +Backport of fix for -DKITTY_NO_SIMD (aka for non-x86/amd64/arm64) +https://github.com/kovidgoyal/kitty/issues/7225 +https://github.com/kovidgoyal/kitty/commit/393169f79daf60c038b3e11e657fa5f3ee41c24c +--- a/kitty/simd-string-impl.h ++++ b/kitty/simd-string-impl.h +@@ -21,5 +21,5 @@ + bool FUNC(utf8_decode_to_esc)(UTF8Decoder *d UNUSED, const uint8_t *src UNUSED, size_t src_sz UNUSED) NOSIMD + const uint8_t* FUNC(find_either_of_two_bytes)(const uint8_t *haystack UNUSED, const size_t sz UNUSED, const uint8_t a UNUSED, const uint8_t b UNUSED) NOSIMD +-void FUNC(xor_data64)(const uint8_t key[64], uint8_t* data, const size_t data_sz); ++void FUNC(xor_data64)(const uint8_t key[64] UNUSED, uint8_t* data UNUSED, const size_t data_sz UNUSED) NOSIMD + #undef NOSIMD + #else diff --git a/x11-terms/kitty/kitty-0.33.0.ebuild b/x11-terms/kitty/kitty-0.33.0.ebuild index 19f68cbfc354..0b8a2e645268 100644 --- a/x11-terms/kitty/kitty-0.33.0.ebuild +++ b/x11-terms/kitty/kitty-0.33.0.ebuild @@ -84,6 +84,10 @@ BDEPEND=" QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go +PATCHES=( + "${FILESDIR}"/${P}-no-simd.patch +) + src_unpack() { if [[ ${PV} == 9999 ]]; then git-r3_src_unpack