1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

lang/rizin: Fix breakage after tree-sitter update.

Reported by:	pkg-fallout
This commit is contained in:
Gleb Popov 2024-01-28 18:13:52 +03:00
parent d30f14fae6
commit 0e95b0cdcb
3 changed files with 20 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= rizin
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang security shells
MAINTAINER= arrowd@FreeBSD.org

View File

@ -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

View File

@ -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>