mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
rizin: update to 0.6.3
This commit is contained in:
parent
f49fae07a2
commit
ba151c0dfc
2 changed files with 36 additions and 2 deletions
34
srcpkgs/rizin/patches/fix-treesitter.patch
Normal file
34
srcpkgs/rizin/patches/fix-treesitter.patch
Normal file
|
@ -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>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rizin'
|
# Template file for 'rizin'
|
||||||
pkgname=rizin
|
pkgname=rizin
|
||||||
version=0.6.2
|
version=0.6.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5
|
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"
|
homepage="https://rizin.re"
|
||||||
changelog="https://github.com/rizinorg/rizin/releases"
|
changelog="https://github.com/rizinorg/rizin/releases"
|
||||||
distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"
|
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
|
# requires some external files, not clear where they come from
|
||||||
make_check=no
|
make_check=no
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue