Hi,
I have 2 patches for editors/emacs27.
Please find the following Gist page.
One is to add a pkgsrc option to link "jansson" package for native JSON support,
which is one of the main features in Emacs 27.
Another one is a workaround that "emacsclient" fails to start due to invalid socket owner.
On NetBSD, "fstat" for a Unix domain socket seems to report 0 as its owner uid and
thus the owner check fails.
There may be a better fix for this though.
Thanks in advance.