From 973798e2132772ab6bcf1b0fa3ad4ac9597e7bb2 Mon Sep 17 00:00:00 2001 From: Doro Rose Date: Sat, 25 Apr 2026 12:05:17 +0200 Subject: [PATCH] emacs-macport: update patches for tree-sitter 0.26 compatibility --- pkgs/applications/editors/emacs/sources.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/editors/emacs/sources.nix b/pkgs/applications/editors/emacs/sources.nix index becbd58af1e9..fb9d9697cd85 100644 --- a/pkgs/applications/editors/emacs/sources.nix +++ b/pkgs/applications/editors/emacs/sources.nix @@ -146,6 +146,16 @@ in url = "https://cgit.git.savannah.gnu.org/cgit/emacs.git/patch/?id=8f535370b9efbc91673b20c6987a5cae4f6dc562"; hash = "sha256-ny44eIi8DUa9pQhVGzhGz4H6FXU4+ki86SITLXhkwpw="; }) + (fetchpatch { + # tree-sitter 0.26 compatibility fix, see https://bugs.gentoo.org/970856 + url = "https://gitweb.gentoo.org/proj/emacs-patches.git/plain/emacs/30.2/01_all_treesit-0.26.patch?id=d0f47979806d9be5a190fdb4ffa1bde439b2d616"; + hash = "sha256-3pWeRxjAhr3ntBR3xDhoDUZDjU6xICU23NUpb/Vl6R4="; + }) + (fetchpatch { + # tree-sitter 0.26 compatibility fix, see https://bugs.gentoo.org/971731 + url = "https://gitweb.gentoo.org/proj/emacs-patches.git/plain/emacs/30.2/02_all_ts-query-pred.patch?id=86190bf195b3e17108372d8ad89eb57037180dd2"; + hash = "sha256-0GPyfKLSaB09a8hamrSf6lx4Qk8Big4AKMOivkN1wEM="; + }) ]; }); }