aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-07 15:35:39 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-07 15:35:39 +0200
commit999b9f64d74b1e35ef058cd76fc40445d9e6e2fd (patch)
tree38e9c15ccc16fff3209378d3a146abab9f117051 /emacs/29.1
parent29.1: Support decompressing pigz-compressed files (diff)
downloademacs-patches-999b9f64d74b1e35ef058cd76fc40445d9e6e2fd.tar.gz
emacs-patches-999b9f64d74b1e35ef058cd76fc40445d9e6e2fd.tar.bz2
emacs-patches-999b9f64d74b1e35ef058cd76fc40445d9e6e2fd.zip
29.1: Fix build failure with tree-sitteremacs-29.1-patches-3
Bug: https://bugs.gentoo.org/911826 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'emacs/29.1')
-rw-r--r--emacs/29.1/04_all_tree-sitter.patch21
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])