From 999b9f64d74b1e35ef058cd76fc40445d9e6e2fd Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 7 Aug 2023 15:35:39 +0200 Subject: 29.1: Fix build failure with tree-sitter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/911826 Signed-off-by: Ulrich Müller --- emacs/29.1/04_all_tree-sitter.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 emacs/29.1/04_all_tree-sitter.patch 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 +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]) -- cgit v1.2.3-65-gdbad