Re: pkg/60130: Add tree-sitter 0.25 package to allow building Emacs 30 with tree-sitter support
"Thomas Klausner via gnats" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/60130; it has been noted by GNATS. From: Thomas Klausner <[email protected]> To: NetBSD bugtracking <[email protected]> Cc: Subject: Re: pkg/60130: Add tree-sitter 0.25 package to allow building Emacs 30 with tree-sitter support Date: Thu, 26 Mar 2026 17:12:23 +0100 On Thu, Mar 26, 2026 at 04:10:01PM +0100, [email protected] via gnats wrote: > I don't know if NetBSD is using a patched version of the source code, > but the upstream source definitely doesn't have those ifdefs in the > emacs-30 branch. You can see that here: > > https://github.com/emacs-mirror/emacs/blob/master/src/treesit.c > > https://github.com/emacs-mirror/emacs/blob/emacs-30/src/treesit.c > > For clarification, I'm building my Emacs from source, not via pkgsrc, as > I have a personal build script that I use across platforms. I'm not sure what kind of support you expect if you don't use pkgsrc. The pkgsrc package has a patch for treesitter support, just use that or the upstream one, or manually compile an older tree-sitter version. Thomas