Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error on NetBSD #256

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

0-wiz-0
Copy link

@0-wiz-0 0-wiz-0 commented Jun 23, 2023

I'm running emacs from git, and I have tree-sitter-lang installed from MELPA (perhaps I don't need this any longer since emacs has native tree-sitter support now). From list-packages:

...
tree-sitter                    20220212.1632  installed             Incremental parsing system
...
tree-sitter-langs              20230622.719   installed             Grammar bundle for tree-sitter
...

Anyway, while upgrading packages I noticed:

Compiling file /home/wiz/.emacs.d/elpa/tree-sitter-langs-20230622.719/tree-sitter-langs.el at Fri Jun 23 21:37:44 2023
tree-sitter-langs.el:40:2: Error: Unsupported system-type berkeley-unix

Line 40 in that file is just

(require 'tree-sitter)

so I dug deeper and found the problematic code in this repository.
I then tried to build it using GNU make and found another problem.
The build now proceeds until cask is used, which I don't have installed.
Please check if the diffs look sane and merge them if appropriate.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant