pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kitty kitty: fix a shell portability issue



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1a6c391a3d1
branches:  trunk
changeset: 378441:b1a6c391a3d1
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 03 18:50:24 2022 +0000

description:
kitty: fix a shell portability issue

diffstat:

 x11/kitty/distinfo                                  |   3 ++-
 x11/kitty/patches/patch-shell-integration_ssh_kitty |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r ff3e5016f048 -r b1a6c391a3d1 x11/kitty/distinfo
--- a/x11/kitty/distinfo        Tue May 03 18:44:13 2022 +0000
+++ b/x11/kitty/distinfo        Tue May 03 18:50:24 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2022/04/14 07:20:39 pin Exp $
+$NetBSD: distinfo,v 1.17 2022/05/03 18:50:24 nia Exp $
 
 BLAKE2s (kitty-0.25.0.tar.xz) = 6a587fe683d48ba166f1c0cd38eaf14365a934cc535e1986c0ea34589fa24112
 SHA512 (kitty-0.25.0.tar.xz) = fed8d66a9f7f2117f4b495305db0d56d8b85ef03bf7ef24a7dca31e63e16fc90e026aa8022237ad45678efb026f11fdd8aa377eb53917fd8ec885f2ccea721f8
 Size (kitty-0.25.0.tar.xz) = 4640360 bytes
 SHA1 (patch-glfw_wl__init.c) = d3bfa4c4a4b6a524a3a5fddd234368022bcb5c95
 SHA1 (patch-kitty_threading.h) = 04886ab09ac2ab6f4925cd20e739e6b634299d55
+SHA1 (patch-shell-integration_ssh_kitty) = 25b75cc4d4c445890bdd1a44f12b277482d93f6a
diff -r ff3e5016f048 -r b1a6c391a3d1 x11/kitty/patches/patch-shell-integration_ssh_kitty
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kitty/patches/patch-shell-integration_ssh_kitty       Tue May 03 18:50:24 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-shell-integration_ssh_kitty,v 1.1 2022/05/03 18:50:24 nia Exp $
+
+Fix a shell portability issue.
+
+--- shell-integration/ssh/kitty.orig   2022-04-11 14:01:45.000000000 +0000
++++ shell-integration/ssh/kitty
+@@ -24,7 +24,7 @@ exec_kitty() {
+ 
+ lock_dir=""
+ script_path=$(command readlink -f "$0" 2> /dev/null)
+-[ $? == 0 ] || script_path="$0"
++[ $? = 0 ] || script_path="$0"
+ script_dir=$(command dirname "$script_path")
+ install_dir="$(command dirname "$script_dir")/install"
+ remote_kitty_version_file="$script_dir/../version"



Home | Main Index | Thread Index | Old Index