git: 8b569e335fa9 - main - misc/far2l: fix build on big-endian architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 14:00:41 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8b569e335fa946fcbe73313e900a4745467acf2f
commit 8b569e335fa946fcbe73313e900a4745467acf2f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-26 20:50:30 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 13:59:46 +0000
misc/far2l: fix build on big-endian architectures
Same as archivers/7-zip.
---
misc/far2l/files/patch-multiarc_src_formats_7z_C_CpuArch.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/misc/far2l/files/patch-multiarc_src_formats_7z_C_CpuArch.h b/misc/far2l/files/patch-multiarc_src_formats_7z_C_CpuArch.h
new file mode 100644
index 000000000000..249c6e73e351
--- /dev/null
+++ b/misc/far2l/files/patch-multiarc_src_formats_7z_C_CpuArch.h
@@ -0,0 +1,10 @@
+--- multiarc/src/formats/7z/C/CpuArch.h.orig 2024-12-26 20:43:44 UTC
++++ multiarc/src/formats/7z/C/CpuArch.h
+@@ -247,7 +247,6 @@ MY_CPU_64BIT means that processor can work with 64-bit
+ || defined(MY_CPU_ARM_LE) \
+ || defined(MY_CPU_ARM64_LE) \
+ || defined(MY_CPU_IA64_LE) \
+- || defined(_LITTLE_ENDIAN) \
+ || defined(__LITTLE_ENDIAN__) \
+ || defined(__ARMEL__) \
+ || defined(__THUMBEL__) \