git: b6dd8a9cbfc1 - main - lang/rizin: Update to 0.7.1

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 07:47:16 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b6dd8a9cbfc1d12b206abc384f14fc21cf6d683b

commit b6dd8a9cbfc1d12b206abc384f14fc21cf6d683b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-05 07:44:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-05 07:46:15 +0000

    lang/rizin: Update to 0.7.1
    
    Reported by:    portscout!
---
 lang/rizin/Makefile                |   8 ++-
 lang/rizin/distinfo                |   6 +--
 lang/rizin/files/patch-meson.build |  20 -------
 lang/rizin/pkg-plist               | 108 ++++++++++++++++++-------------------
 4 files changed, 64 insertions(+), 78 deletions(-)

diff --git a/lang/rizin/Makefile b/lang/rizin/Makefile
index d23608a32689..ec91c213fb64 100644
--- a/lang/rizin/Makefile
+++ b/lang/rizin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rizin
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.7.0
+DISTVERSION=	0.7.1
 CATEGORIES=	lang security shells
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -43,8 +43,14 @@ GH_TUPLE=	rizinorg:rz-libdemangle:8b8f7f3:libdemangle/subprojects/libdemangle \
 		rizinorg:tree-sitter-c:81d96d8:tree_sitter_c/subprojects/tree-sitter-c \
 		BLAKE3-team:BLAKE3:3f396d2:blake3/subprojects/blake3
 
+TESTING_UNSAFE=	requires additional test input files
+
 post-extract:
 	${CP} -r ${WRKSRC}/subprojects/packagefiles/blake3 ${WRKSRC}/subprojects
 	${CP} -r ${WRKSRC}/subprojects/packagefiles/tree-sitter-c ${WRKSRC}/subprojects
 
+post-patch:
+	${REINPLACE_CMD} -e 's|<tree_sitter/parser.h>|"tree_sitter/parser.h"|' \
+		${WRKSRC}/subprojects/rizin-shell-parser/src/parser.c
+
 .include <bsd.port.mk>
diff --git a/lang/rizin/distinfo b/lang/rizin/distinfo
index bb1ea0a9da3a..641cc1a24e61 100644
--- a/lang/rizin/distinfo
+++ b/lang/rizin/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1708876910
-SHA256 (rizinorg-rizin-v0.7.0_GH0.tar.gz) = 61c937ce0579994dcd3c9f09fed6a78b4a200f76560fff365f116add860d63d3
-SIZE (rizinorg-rizin-v0.7.0_GH0.tar.gz) = 7738844
+TIMESTAMP = 1709621099
+SHA256 (rizinorg-rizin-v0.7.1_GH0.tar.gz) = 2f6a8a08f740df5abb5dc413784695f3f7e700af1acaec6bffcd5dc1bd73cf42
+SIZE (rizinorg-rizin-v0.7.1_GH0.tar.gz) = 7731834
 SHA256 (rizinorg-rz-libdemangle-8b8f7f3_GH0.tar.gz) = 5f0148136c2972d0751d6480cbe080773f5216648219fe88c9e7cad185e10571
 SIZE (rizinorg-rz-libdemangle-8b8f7f3_GH0.tar.gz) = 172920
 SHA256 (rizinorg-tree-sitter-c-81d96d8_GH0.tar.gz) = a9b50dd46ced6ca35d7013c6d3effcc5e33cc663b7a1ee17e3d0d2c662e52823
diff --git a/lang/rizin/files/patch-meson.build b/lang/rizin/files/patch-meson.build
deleted file mode 100644
index 15b3dc80a3ab..000000000000
--- a/lang/rizin/files/patch-meson.build
+++ /dev/null
@@ -1,20 +0,0 @@
---- meson.build.orig	2024-02-23 16:00:12 UTC
-+++ meson.build
-@@ -205,7 +205,7 @@ if (pcre2_dep_opt.enabled() or pcre2_dep_opt.auto()) a
- pcre2_dep_opt = get_option('use_sys_pcre2')
- pcre2_dep = disabler()
- if (pcre2_dep_opt.enabled() or pcre2_dep_opt.auto()) and not meson.is_cross_build()
--  pcre2_dep = dependency('libpcre2-8', required: false, static: true)
-+  pcre2_dep = dependency('libpcre2-8', required: false, static: false)
-   if not pcre2_dep.found()
-     pcre2_dep = cc.find_library('pcre2', required: true, static: true)
-   endif
-@@ -285,7 +285,7 @@ blake3_dep = blake3_proj.get_variable('blake3_dep')
- blake3_dep = blake3_proj.get_variable('blake3_dep')
- 
- # handle openssl library
--sys_openssl = dependency('openssl', required: get_option('use_sys_openssl'), static: is_static_build)
-+sys_openssl = disabler()
- 
- # handle tree-sitter
- r = run_command(py3_exe, check_meson_subproject_py, 'tree-sitter', check: false)
diff --git a/lang/rizin/pkg-plist b/lang/rizin/pkg-plist
index 3a6cccccc4df..5903f62d3c28 100644
--- a/lang/rizin/pkg-plist
+++ b/lang/rizin/pkg-plist
@@ -206,86 +206,86 @@ lib/cmake/rz_syscall/rz_syscallConfig.cmake
 lib/cmake/rz_type/rz_typeConfig.cmake
 lib/cmake/rz_util/rz_utilConfig.cmake
 lib/librz_analysis.so
-lib/librz_analysis.so.0.7
-lib/librz_analysis.so.0.7.0
+lib/librz_analysis.so.0.8
+lib/librz_analysis.so.0.8.0
 lib/librz_asm.so
-lib/librz_asm.so.0.7
-lib/librz_asm.so.0.7.0
+lib/librz_asm.so.0.8
+lib/librz_asm.so.0.8.0
 lib/librz_bin.so
-lib/librz_bin.so.0.7
-lib/librz_bin.so.0.7.0
+lib/librz_bin.so.0.8
+lib/librz_bin.so.0.8.0
 lib/librz_bp.so
-lib/librz_bp.so.0.7
-lib/librz_bp.so.0.7.0
+lib/librz_bp.so.0.8
+lib/librz_bp.so.0.8.0
 lib/librz_config.so
-lib/librz_config.so.0.7
-lib/librz_config.so.0.7.0
+lib/librz_config.so.0.8
+lib/librz_config.so.0.8.0
 lib/librz_cons.so
-lib/librz_cons.so.0.7
-lib/librz_cons.so.0.7.0
+lib/librz_cons.so.0.8
+lib/librz_cons.so.0.8.0
 lib/librz_core.so
-lib/librz_core.so.0.7
-lib/librz_core.so.0.7.0
+lib/librz_core.so.0.8
+lib/librz_core.so.0.8.0
 lib/librz_crypto.so
-lib/librz_crypto.so.0.7
-lib/librz_crypto.so.0.7.0
+lib/librz_crypto.so.0.8
+lib/librz_crypto.so.0.8.0
 lib/librz_debug.so
-lib/librz_debug.so.0.7
-lib/librz_debug.so.0.7.0
+lib/librz_debug.so.0.8
+lib/librz_debug.so.0.8.0
 lib/librz_demangler.so
-lib/librz_demangler.so.0.7
-lib/librz_demangler.so.0.7.0
+lib/librz_demangler.so.0.8
+lib/librz_demangler.so.0.8.0
 lib/librz_diff.so
-lib/librz_diff.so.0.7
-lib/librz_diff.so.0.7.0
+lib/librz_diff.so.0.8
+lib/librz_diff.so.0.8.0
 lib/librz_egg.so
-lib/librz_egg.so.0.7
-lib/librz_egg.so.0.7.0
+lib/librz_egg.so.0.8
+lib/librz_egg.so.0.8.0
 lib/librz_flag.so
-lib/librz_flag.so.0.7
-lib/librz_flag.so.0.7.0
+lib/librz_flag.so.0.8
+lib/librz_flag.so.0.8.0
 lib/librz_hash.so
-lib/librz_hash.so.0.7
-lib/librz_hash.so.0.7.0
+lib/librz_hash.so.0.8
+lib/librz_hash.so.0.8.0
 lib/librz_il.so
-lib/librz_il.so.0.7
-lib/librz_il.so.0.7.0
+lib/librz_il.so.0.8
+lib/librz_il.so.0.8.0
 lib/librz_io.so
-lib/librz_io.so.0.7
-lib/librz_io.so.0.7.0
+lib/librz_io.so.0.8
+lib/librz_io.so.0.8.0
 lib/librz_lang.so
-lib/librz_lang.so.0.7
-lib/librz_lang.so.0.7.0
+lib/librz_lang.so.0.8
+lib/librz_lang.so.0.8.0
 lib/librz_magic.so
-lib/librz_magic.so.0.7
-lib/librz_magic.so.0.7.0
+lib/librz_magic.so.0.8
+lib/librz_magic.so.0.8.0
 lib/librz_main.so
-lib/librz_main.so.0.7
-lib/librz_main.so.0.7.0
+lib/librz_main.so.0.8
+lib/librz_main.so.0.8.0
 lib/librz_parse.so
-lib/librz_parse.so.0.7
-lib/librz_parse.so.0.7.0
+lib/librz_parse.so.0.8
+lib/librz_parse.so.0.8.0
 lib/librz_reg.so
-lib/librz_reg.so.0.7
-lib/librz_reg.so.0.7.0
+lib/librz_reg.so.0.8
+lib/librz_reg.so.0.8.0
 lib/librz_search.so
-lib/librz_search.so.0.7
-lib/librz_search.so.0.7.0
+lib/librz_search.so.0.8
+lib/librz_search.so.0.8.0
 lib/librz_sign.so
-lib/librz_sign.so.0.7
-lib/librz_sign.so.0.7.0
+lib/librz_sign.so.0.8
+lib/librz_sign.so.0.8.0
 lib/librz_socket.so
-lib/librz_socket.so.0.7
-lib/librz_socket.so.0.7.0
+lib/librz_socket.so.0.8
+lib/librz_socket.so.0.8.0
 lib/librz_syscall.so
-lib/librz_syscall.so.0.7
-lib/librz_syscall.so.0.7.0
+lib/librz_syscall.so.0.8
+lib/librz_syscall.so.0.8.0
 lib/librz_type.so
-lib/librz_type.so.0.7
-lib/librz_type.so.0.7.0
+lib/librz_type.so.0.8
+lib/librz_type.so.0.8.0
 lib/librz_util.so
-lib/librz_util.so.0.7
-lib/librz_util.so.0.7.0
+lib/librz_util.so.0.8
+lib/librz_util.so.0.8.0
 libdata/pkgconfig/rz_analysis.pc
 libdata/pkgconfig/rz_asm.pc
 libdata/pkgconfig/rz_bin.pc