Skip to content

Commit

Permalink
rizin: update to 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cinerea0 committed Feb 13, 2024
1 parent f49fae0 commit ba151c0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions srcpkgs/rizin/patches/fix-treesitter.patch
Original file line number Diff line number Diff line change
@@ -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 <tree_sitter/parser.h>
+#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 <sirmy15@gmail.com>
// SPDX-License-Identifier: LGPL-3.0-only

-#include <tree_sitter/parser.h>
+#include "tree_sitter/parser.h"
#include <ctype.h>
#include <wctype.h>
#include <stdio.h>

4 changes: 2 additions & 2 deletions srcpkgs/rizin/template
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit ba151c0

Please sign in to comment.