git: b1292e723484 - main - editors/lite-xl: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 15:03:11 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1292e72348480bc37ac09d9d4f099462ce67eb4 commit b1292e72348480bc37ac09d9d4f099462ce67eb4 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-11-27 14:38:41 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-11-27 14:38:41 +0000 editors/lite-xl: fix build on powerpc* --- editors/lite-xl/files/patch-src_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/editors/lite-xl/files/patch-src_main.c b/editors/lite-xl/files/patch-src_main.c index e4d075bd477b..bb491c8ac542 100644 --- a/editors/lite-xl/files/patch-src_main.c +++ b/editors/lite-xl/files/patch-src_main.c @@ -27,3 +27,14 @@ #else strcpy(buf, "./lite"); #endif +@@ -91,6 +98,10 @@ void set_macos_bundle_resources(lua_State *L); + #define ARCH_PROCESSOR "aarch64" + #elif __arm__ + #define ARCH_PROCESSOR "arm" ++ #elif __powerpc64__ ++ #define ARCH_PROCESSOR "ppc64" ++ #elif __powerpc__ ++ #define ARCH_PROCESSOR "ppc" + #endif + + #if _WIN32