[tree-sitter-c] update to 0.24.1 (#45715)

This commit is contained in:
toge
2025-05-27 15:40:36 +09:00
committed by GitHub
parent 7bf98dbcba
commit 8f63c9ed58
5 changed files with 13 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6a23ee..f45024d 100644
index 3771647..772f62a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,15 +41,15 @@ set_target_properties(tree-sitter-c
@@ -45,16 +45,16 @@ set_target_properties(tree-sitter-c
SOVERSION "${TREE_SITTER_ABI_VERSION}.${PROJECT_VERSION_MAJOR}"
DEFINE_SYMBOL "")
@@ -13,8 +13,9 @@ index e6a23ee..f45024d 100644
-include(GNUInstallDirs)
-
install(FILES bindings/c/tree-sitter-c.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/tree_sitter")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree_sitter"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
FILES_MATCHING PATTERN "*.h")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-c.pc"
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig")
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")

View File

@@ -6,7 +6,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tree-sitter/tree-sitter-c
REF "v${VERSION}"
SHA512 76022e55c613901e6c58d08e425aa0d527027d0130ce6bed2c5f83cd9056a8bdfef7af73ccd5df056b03515a9a733d64759b37766ccaa994f757c8e5c51b9a74
SHA512 51cf052230ee835d4ae5e6c5adb24aeaeba3b4f106aceefaf4000bd0e57321946f1b3e3b0f9ea71d1c17a618604c6c7269c80c3ecc5ca17e22c883ff5ce4c304
HEAD_REF master
PATCHES
pkgconfig.diff

View File

@@ -1,6 +1,6 @@
{
"name": "tree-sitter-c",
"version": "0.23.5",
"version": "0.24.1",
"description": "C grammar for tree-sitter",
"homepage": "https://github.com/tree-sitter/tree-sitter-c",
"license": "MIT",

View File

@@ -9505,7 +9505,7 @@
"port-version": 0
},
"tree-sitter-c": {
"baseline": "0.23.5",
"baseline": "0.24.1",
"port-version": 0
},
"tree-sitter-cli": {

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b13d01b8c0207ecdb7ffdf988a4d6956dd7eeda5",
"version": "0.24.1",
"port-version": 0
},
{
"git-tree": "c328547f974b97d7181e603d82c66c8cf34a4e2d",
"version": "0.23.5",