Download raw body.
editor/micro: Tcell update as possible fix
Hi. It's the first time I've sent a message to a mailing list, so I hope
there's nothing wrong I'm doing after reading instructions and looking
at archives slightly.
Currently, the port of Micro is broken due to wrong syscall usage in 2
dependencies. Tcell is one of them, and it seems like it can't be
properly patched in this port as mentioned in this thread:
https://marc.info/?l=openbsd-ports&m=173798821520900&w=2
Now, it may be possible to fix the port since this PR was merged to the
Tcell fork:
https://github.com/micro-editor/tcell/pull/3
The port will not require patches by the next Micro version where
dependencies are updated. However, I suggest to patch the port since
it's unlikely it can be released early.
Micro 2.0.14 may be patched by running these commands in the source code
directory:
sed -i 's|zyedidia/tcell/v2"|micro-editor/tcell/v2"|' */*/*.go
go get \
github.com/zyedidia/tcell/v2@none \
github.com/micro-editor/tcell/v2@v2.0.13 \
github.com/mattn/go-isatty@v0.0.20
I'm not sure that I can be relied to try properly patching the port,
but the modifications compiled on Linux and Micro worked in a VM running
OpenBSD 7.7.
editor/micro: Tcell update as possible fix