diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-11-27 14:38:41 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-11-27 14:38:41 +0000 |
commit | b1292e72348480bc37ac09d9d4f099462ce67eb4 (patch) | |
tree | 3793d46107057edcec57239812ea6a4ad1b6204f /editors | |
parent | textproc/uim: Update to the snapshot on 2022-09-27 (diff) |
editors/lite-xl: fix build on powerpc*
Diffstat (limited to 'editors')
-rw-r--r-- | editors/lite-xl/files/patch-src_main.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |