diff options
-rw-r--r-- | emacs/29.1/04_all_tree-sitter.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs/29.1/04_all_tree-sitter.patch b/emacs/29.1/04_all_tree-sitter.patch new file mode 100644 index 0000000..b49c542 --- /dev/null +++ b/emacs/29.1/04_all_tree-sitter.patch @@ -0,0 +1,21 @@ +Fix build failure with tree-sitter +Patch from emacs-29 branch +https://bugs.gentoo.org/911826 +https://debbugs.gnu.org/65123 + +commit e1874c4e8bff165abc5c2e842b4381b65da67ebb +Author: Eli Zaretskii <eliz@gnu.org> +Date: Mon Aug 7 16:20:17 2023 +0300 + + * configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes (bug#65123). + +--- a/configure.ac ++++ b/configure.ac +@@ -3254,6 +3254,7 @@ AC_DEFUN + [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no]) + if test "${HAVE_TREE_SITTER}" = yes; then + AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.]) ++ NEED_DYNLIB=yes + else + EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3], + [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no]) |