git: 0e95b0cdcb95 - main - lang/rizin: Fix breakage after tree-sitter update.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 16:08:11 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0e95b0cdcb956d1aab5e34cc22a9eaf57053fe9a
commit 0e95b0cdcb956d1aab5e34cc22a9eaf57053fe9a
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-28 15:13:52 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-28 16:07:40 +0000
lang/rizin: Fix breakage after tree-sitter update.
Reported by: pkg-fallout
---
lang/rizin/Makefile | 2 +-
.../files/patch-subprojects_rizin-shell-parser_src_parser.c | 8 ++++++++
.../files/patch-subprojects_rizin-shell-parser_src_scanner.c | 11 +++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/lang/rizin/Makefile b/lang/rizin/Makefile
index 42e5aa793064..46053595cc6a 100644
--- a/lang/rizin/Makefile
+++ b/lang/rizin/Makefile
@@ -1,7 +1,7 @@
PORTNAME= rizin
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang security shells
MAINTAINER= arrowd@FreeBSD.org
diff --git a/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_parser.c b/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_parser.c
new file mode 100644
index 000000000000..487cbf26a0d6
--- /dev/null
+++ b/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_parser.c
@@ -0,0 +1,8 @@
+--- subprojects/rizin-shell-parser/src/parser.c.orig 2023-10-17 10:11:38 UTC
++++ 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/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_scanner.c b/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_scanner.c
new file mode 100644
index 000000000000..27c0caed234d
--- /dev/null
+++ b/lang/rizin/files/patch-subprojects_rizin-shell-parser_src_scanner.c
@@ -0,0 +1,11 @@
+--- subprojects/rizin-shell-parser/src/scanner.c.orig 2023-10-17 10:11:38 UTC
++++ 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>