git: d24fee54b869 - main - lang/rizin: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Apr 2024 01:07:02 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d24fee54b8695fff5d8575d241eb25734832dd45 commit d24fee54b8695fff5d8575d241eb25734832dd45 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-04-12 01:06:11 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-04-12 01:06:11 +0000 lang/rizin: fix build on powerpc64* --- lang/rizin/Makefile | 1 + lang/rizin/files/patch-librz_debug_p_native_reg.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/lang/rizin/Makefile b/lang/rizin/Makefile index 111d4247a274..f10e01f08f31 100644 --- a/lang/rizin/Makefile +++ b/lang/rizin/Makefile @@ -48,5 +48,6 @@ 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 <bsd.port.mk> 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