From 6e55fd6a06153dda34356255ab759d43a30f4373 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Wed, 12 Jun 2024 16:39:14 +0200 Subject: [PATCH] tree-sitter-vim: 0.3.0 -> 0.4.0 --- tree-sitter-vim/.signature | 7 +++--- ...6f150347c1cd044e90b8e2bc73c00677fa55.patch | 22 ------------------- tree-sitter-vim/Pkgfile | 7 ++---- 3 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 tree-sitter-vim/32c76f150347c1cd044e90b8e2bc73c00677fa55.patch diff --git a/tree-sitter-vim/.signature b/tree-sitter-vim/.signature index aae31795d..497d65eba 100644 --- a/tree-sitter-vim/.signature +++ b/tree-sitter-vim/.signature @@ -1,6 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF349f5FJlDpYem7VEfG0W9WsLv3/BxkO3YHwr/Pcj1IdYv/ZG/AT0uP2+mgMaSS6ZUwj3dPCqL/tW2TBm+LwLsQI= -SHA256 (Pkgfile) = d9641242e7244d2fc6fb8463ca19b9171ffb15c011469cdeb5f203cdbe32b269 +RWSagIOpLGJF30+BJaIpjEig78/qemg5w+OG1NneUvLP18kkWvhMBQ+NL14bmHK2SUrIV3qOcDs/EH/uIuPG1O21SX+Ds39EKQY= +SHA256 (Pkgfile) = 60dc4f33ad0117bd4c544daa30fc07b7b70f604528ba947c99546134c932f156 SHA256 (.footprint) = d54ff3e392ae984e50a236dc913c6ef827ab4e9496b58c5243d0c83c3983e6b9 -SHA256 (tree-sitter-vim-0.3.0.tar.gz) = 403acec3efb7cdb18ff3d68640fc823502a4ffcdfbb71cec3f98aa786c21cbe2 -SHA256 (32c76f150347c1cd044e90b8e2bc73c00677fa55.patch) = 4a2dde4222d300224295848e07e576e17c7ba52636f42b2a255fd65b476d4da0 +SHA256 (tree-sitter-vim-0.4.0.tar.gz) = 9f856f8b4a10ab43348550fa2d3cb2846ae3d8e60f45887200549c051c66f9d5 diff --git a/tree-sitter-vim/32c76f150347c1cd044e90b8e2bc73c00677fa55.patch b/tree-sitter-vim/32c76f150347c1cd044e90b8e2bc73c00677fa55.patch deleted file mode 100644 index 579c4a3c1..000000000 --- a/tree-sitter-vim/32c76f150347c1cd044e90b8e2bc73c00677fa55.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 32c76f150347c1cd044e90b8e2bc73c00677fa55 Mon Sep 17 00:00:00 2001 -From: Christian Clason -Date: Sat, 30 Sep 2023 15:42:23 +0200 -Subject: [PATCH] fix(scanner): use local include - -tree-sitter CLI no longer installs the header globally ---- - src/scanner.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/scanner.c b/src/scanner.c -index 1a2d96a..f77fefd 100644 ---- a/src/scanner.c -+++ b/src/scanner.c -@@ -1,6 +1,6 @@ - #include "stdio.h" - #include "stdlib.h" --#include -+#include "tree_sitter/parser.h" - #include - #include - #include diff --git a/tree-sitter-vim/Pkgfile b/tree-sitter-vim/Pkgfile index ceb8cdbef..12ed46edb 100644 --- a/tree-sitter-vim/Pkgfile +++ b/tree-sitter-vim/Pkgfile @@ -4,16 +4,13 @@ # Depends on: npm tree-sitter-cli name=tree-sitter-vim -version=0.3.0 +version=0.4.0 release=1 -source=(https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v$version/$name-$version.tar.gz - 32c76f150347c1cd044e90b8e2bc73c00677fa55.patch) +source=(https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v$version/$name-$version.tar.gz) build() { cd $name-$version - patch -Np1 -i $SRC/32c76f150347c1cd044e90b8e2bc73c00677fa55.patch - tree-sitter generate --log cd src export CFLAGS+=' -fPIC'