From af090bee41fa8636b9f998cf6d3e932df84af29b Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Mon, 12 Feb 2024 12:59:52 -0500 Subject: [PATCH] rizin: update to 0.6.3 --- srcpkgs/rizin/patches/fix-treesitter.patch | 34 ++++++++++++++++++++++ srcpkgs/rizin/template | 4 +-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/rizin/patches/fix-treesitter.patch diff --git a/srcpkgs/rizin/patches/fix-treesitter.patch b/srcpkgs/rizin/patches/fix-treesitter.patch new file mode 100644 index 0000000000000..e21de7477129f --- /dev/null +++ b/srcpkgs/rizin/patches/fix-treesitter.patch @@ -0,0 +1,34 @@ +From 07f92a82df1ef6d4c73ca18ee116a4af4895f343 Mon Sep 17 00:00:00 2001 +From: Gleb Popov <6yearold@gmail.com> +Date: Mon, 29 Jan 2024 16:14:40 +0300 +Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter (#4165) + +--- + subprojects/rizin-shell-parser/src/parser.c | 2 +- + subprojects/rizin-shell-parser/src/scanner.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c +index 21e270b58fa..3f83e0bf0b8 100644 +--- a/subprojects/rizin-shell-parser/src/parser.c ++++ b/subprojects/rizin-shell-parser/src/parser.c +@@ -1,4 +1,4 @@ +-#include ++#include "tree_sitter/parser.h" + + #if defined(__GNUC__) || defined(__clang__) + #pragma GCC diagnostic push +diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c +index 133c5850da9..9c17e4a0c13 100644 +--- a/subprojects/rizin-shell-parser/src/scanner.c ++++ b/subprojects/rizin-shell-parser/src/scanner.c +@@ -1,7 +1,7 @@ + // SPDX-FileCopyrightText: 2020 ret2libc + // SPDX-License-Identifier: LGPL-3.0-only + +-#include ++#include "tree_sitter/parser.h" + #include + #include + #include + diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template index 16c7230d04d57..8b19cabaee40c 100644 --- a/srcpkgs/rizin/template +++ b/srcpkgs/rizin/template @@ -1,6 +1,6 @@ # Template file for 'rizin' pkgname=rizin -version=0.6.2 +version=0.6.3 revision=1 build_style=meson configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5 @@ -17,7 +17,7 @@ license="LGPL-3.0-only" homepage="https://rizin.re" changelog="https://github.com/rizinorg/rizin/releases" distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz" -checksum=e29a00a3e22004bdd10146d286b1cce0e06196d41aae4729aafc9d78321ff86b +checksum=95f64c6ab9e6daa9e9fa5634398eb8f6cdb4ebf2e814da2e4cb969d31f4509c2 # requires some external files, not clear where they come from make_check=no