HomeFreeBSD

x11/kitty: Fix error with kitty+fish without sudo

Description

x11/kitty: Fix error with kitty+fish without sudo

If a user has fish as shell and sudo is not installed, then kitty
prints the following error:

type: Could not find 'sudo'
test: Expected a combining operator like '-a' at index 5
-n /usr/local/share/kitty/terminfo -a file =

^

Standard input (line 114):

and test -n "$TERMINFO" -a "file" = (type -t sudo)
    ^

in function '__ksi_schedule'
in event handler: handler for generic event 'fish_prompt'

  • Add a patch to fix that error and to tests the presence of the

xterm-kitty file in DATADIR

  • Bump PORTREVISION

PR: 275339

Details

Provenance
asomersAuthored on Dec 1 2023, 2:30 PM
nivitCommitted on Dec 1 2023, 2:34 PM
Parents
R11:3dc4863f379f: x11/gtklock: add new port
Branches
Unknown
Tags
Unknown