On 2023/04/13 09:42, Laurence Tratt wrote:
> Updating to neovim-0.9.0 requires updating treesitter too, as the former
> requires a new function in the latter.

"new function" implies that SHARED_LIBS needs a bump of some sort.

$ /usr/src/lib/check_sym /usr/local/lib/libtree-sitter.so.2.1 
/pobj/tree-sitter-0.20.8/fake-amd64/usr/local/lib/libtree-sitter.so.2.1
/usr/local/lib/libtree-sitter.so.2.1 --> 
/pobj/tree-sitter-0.20.8/fake-amd64/usr/local/lib/libtree-sitter.so.2.1
Dynamic export changes:
added:
        ts_query_is_pattern_non_local
        ts_tree_cursor_goto_first_child_internal
        ts_tree_cursor_goto_next_sibling_internal
        ts_tree_included_ranges

External reference changes:
added:
        dup

PLT added:
        ts_tree_cursor_goto_first_child_internal
        ts_tree_cursor_goto_next_sibling_internal

PLT removed:
        ts_tree_cursor_goto_first_child
        ts_tree_cursor_goto_next_sibling

... No removed functions in "Dynamic export changes" (which would be an
automatic major bump) only added ones. (generally ignore PLT and
external reference changes for ports).

But diffing headers, the second argument of ts_tree_print_dot_graph
changed from a file pointer to int file_descriptor,

-void ts_tree_print_dot_graph(const TSTree *, FILE *);
+void ts_tree_print_dot_graph(const TSTree *, int file_descriptor);

so looks like it wants a major bump.

(https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs)

Otherwise, I'm not using those ports, but lgtm.

Reply via email to