diff --git a/lang/rizin/Makefile b/lang/rizin/Makefile index 111d4247a274..f10e01f08f31 100644 --- a/lang/rizin/Makefile +++ b/lang/rizin/Makefile @@ -1,52 +1,53 @@ PORTNAME= rizin DISTVERSIONPREFIX= v DISTVERSION= 0.7.2 CATEGORIES= lang security shells MAINTAINER= arrowd@FreeBSD.org COMMENT= UNIX-like reverse engineering framework and command-line toolset WWW= https://rizin.re LICENSE= LGPL3 GPLv3 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= armv6 armv7 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libcapstone.so:devel/capstone \ libmspack.so:archivers/libmspack \ libxxhash.so:devel/xxhash \ libpcre2-8.so:devel/pcre2 \ libtree-sitter.so:devel/tree-sitter \ liblz4.so:archivers/liblz4 \ libzip.so:archivers/libzip USES= localbase meson pkgconfig python:build MESON_ARGS= -D use_sys_capstone=enabled \ -D use_sys_magic=enabled \ -D use_sys_libzip=enabled \ -D use_sys_zlib=enabled \ -D use_sys_lz4=enabled \ -D use_sys_lzma=enabled \ -D use_sys_xxhash=enabled \ -D use_sys_pcre2=enabled \ -D use_sys_libmspack=enabled \ -D use_sys_tree_sitter=enabled \ -D enable_rz_test=false \ -D use_sys_libzstd=enabled \ USE_GITHUB= yes GH_ACCOUNT= rizinorg 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 + ${CP} ${WRKSRC}/librz/debug/p/native/linux/reg/linux-ppc64.h ${WRKSRC}/librz/debug/p/native/reg/kfbsd-ppc64.h .include diff --git a/lang/rizin/files/patch-librz_debug_p_native_reg.c b/lang/rizin/files/patch-librz_debug_p_native_reg.c new file mode 100644 index 000000000000..e5de31bac6d6 --- /dev/null +++ b/lang/rizin/files/patch-librz_debug_p_native_reg.c @@ -0,0 +1,11 @@ +--- librz/debug/p/native/reg.c.orig 2024-04-12 00:53:53 UTC ++++ librz/debug/p/native/reg.c +@@ -60,6 +60,8 @@ static char *rz_debug_native_reg_profile(RzDebug *dbg) + #include "reg/kfbsd-x64.h" + #elif __aarch64__ + #include "reg/kfbsd-arm64.h" ++#elif __powerpc64__ ++#include "reg/kfbsd-ppc64.h" + #else + #error "Unsupported BSD architecture" + #endif