From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/files/, x11-terms/kitty/
Date: Fri, 14 Jul 2023 09:32:54 +0000 (UTC) [thread overview]
Message-ID: <1689327003.6cfc3c38d2c83824786e2a63797f9cea9b330023.ionen@gentoo> (raw)
commit: 6cfc3c38d2c83824786e2a63797f9cea9b330023
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Fri Jul 14 02:16:36 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 09:30:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfc3c38
x11-terms/kitty: Backport fix for musl 1.2.4
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31872
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-terms/kitty/files/kitty-0.29.0-musl-1.2.4.patch | 20 ++++++++++++++++++++
x11-terms/kitty/kitty-0.27.1.ebuild | 4 ++++
x11-terms/kitty/kitty-0.28.1.ebuild | 4 ++++
x11-terms/kitty/kitty-0.29.0.ebuild | 4 ++++
4 files changed, 32 insertions(+)
diff --git a/x11-terms/kitty/files/kitty-0.29.0-musl-1.2.4.patch b/x11-terms/kitty/files/kitty-0.29.0-musl-1.2.4.patch
new file mode 100644
index 000000000000..f02f425d0d66
--- /dev/null
+++ b/x11-terms/kitty/files/kitty-0.29.0-musl-1.2.4.patch
@@ -0,0 +1,20 @@
+From https://github.com/kovidgoyal/kitty/commit/90223b5d146828c65179da49c75ce31b304fa1b8 Mon Sep 17 00:00:00 2001
+From: Kovid Goyal <kovid@kovidgoyal.net>
+Date: Tue, 11 Jul 2023 09:22:40 +0530
+Subject: [PATCH] Fix compilation against musl
+
+As usual in C stdlib world. Ill thought out break the world changes.
+Sigh. musl no longer defines off64_t.
+
+Fixes #6441
+--- a/kitty/fast-file-copy.c
++++ b/kitty/fast-file-copy.c
+@@ -83,7 +83,7 @@ copy_with_file_range(int infd, int outfd, off_t in_pos, size_t len, FastFileCopy
+ #ifdef HAS_COPY_FILE_RANGE
+ unsigned num_of_consecutive_zero_returns = 128;
+ while (len) {
+- off64_t r = in_pos;
++ int64_t r = in_pos;
+ ssize_t n = copy_file_range(infd, &r, outfd, NULL, len, 0);
+ if (n < 0) {
+ if (errno == EAGAIN) continue;
diff --git a/x11-terms/kitty/kitty-0.27.1.ebuild b/x11-terms/kitty/kitty-0.27.1.ebuild
index 1fa60113f89c..f0f229436c3f 100644
--- a/x11-terms/kitty/kitty-0.27.1.ebuild
+++ b/x11-terms/kitty/kitty-0.27.1.ebuild
@@ -70,6 +70,10 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )"
[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.29.0-musl-1.2.4.patch"
+)
+
QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
src_unpack() {
diff --git a/x11-terms/kitty/kitty-0.28.1.ebuild b/x11-terms/kitty/kitty-0.28.1.ebuild
index e034994923d5..00cbcf7ed7e4 100644
--- a/x11-terms/kitty/kitty-0.28.1.ebuild
+++ b/x11-terms/kitty/kitty-0.28.1.ebuild
@@ -70,6 +70,10 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )"
[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.29.0-musl-1.2.4.patch"
+)
+
QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
src_unpack() {
diff --git a/x11-terms/kitty/kitty-0.29.0.ebuild b/x11-terms/kitty/kitty-0.29.0.ebuild
index ca29cc5189de..73a34d22e2c4 100644
--- a/x11-terms/kitty/kitty-0.29.0.ebuild
+++ b/x11-terms/kitty/kitty-0.29.0.ebuild
@@ -70,6 +70,10 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )"
[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.29.0-musl-1.2.4.patch"
+)
+
QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
src_unpack() {
next reply other threads:[~2023-07-14 9:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-14 9:32 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-16 7:25 [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/files/, x11-terms/kitty/ Ionen Wolkens
2023-12-12 21:25 Ionen Wolkens
2022-09-08 18:23 Ionen Wolkens
2021-11-10 10:59 Ionen Wolkens
2021-07-14 6:25 Joonas Niilola
2021-06-01 0:02 Sam James
2021-05-10 8:06 Joonas Niilola
2021-05-10 8:06 Joonas Niilola
2021-02-02 13:08 Joonas Niilola
2020-10-17 14:04 Joonas Niilola
2020-03-20 14:30 Joonas Niilola
2020-03-14 12:07 Joonas Niilola
2020-02-05 9:09 Tim Harder
2020-01-14 14:23 Joonas Niilola
2019-06-15 21:27 Tim Harder
2019-06-08 4:31 Matthew Thode
2019-01-06 2:56 Tim Harder
2018-06-21 18:02 Tim Harder
2018-05-07 6:29 Tim Harder
2018-02-05 12:18 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1689327003.6cfc3c38d2c83824786e2a63797f9cea9b330023.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox