Download raw body.
sysutils/k9s: how to patch go ports
On Sat, 04 Oct 2025 16:44:37 +0200,
Rafael Sadowski <rafael@sizeofvoid.org> wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> I ported sysutils/k9s to OpenBSD. During the build process, I
> encountered 2-3 build errors that are easy to fix (hackish).
>
> sysutils/k9s/patch-pkg_mod_github_com_containerd_containerd@v1_7_28_archive_tar_mostunix_go
> sysutils/k9s/patch-pkg_mod_github_com_containerd_containerd@v1_7_28_archive_tar_unix_go
> sysutils/k9s/patch-pkg_mod_github_com_containerd_containerd@v1_7_28_client_go
>
> My problem is that these files are not available at all during the
> patch task. Does anyone have any idea what is going on?
>
> The port is attached.
>
I had multiple hacks in docker-compose for a while, which was completley
cleaned up since https://github.com/openbsd/ports/commit/697de69e0f426528b7ef80cbc079b1f289b26465
The root idea was to use
WRKDIST = ${WRKSRC}
which make working with patches in go-port much simpler.
--
wbr, Kirill
sysutils/k9s: how to patch go ports