git: 0b912715ca2d - main - archivers/py-lzma: fix build on big-endian architectures

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 24 Sep 2026 12:54:03 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b912715ca2d3c52c8e28685340f9ad3612b9ab5

commit 0b912715ca2d3c52c8e28685340f9ad3612b9ab5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-12 22:58:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:23 +0000

    archivers/py-lzma: fix build on big-endian architectures
    
    _LITTLE_ENDIAN is defined on all architectures.
---
 archivers/py-lzma/files/patch-src_sdk_C_CpuArch.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/archivers/py-lzma/files/patch-src_sdk_C_CpuArch.h b/archivers/py-lzma/files/patch-src_sdk_C_CpuArch.h
new file mode 100644
index 000000000000..c29a0231d88b
--- /dev/null
+++ b/archivers/py-lzma/files/patch-src_sdk_C_CpuArch.h
@@ -0,0 +1,10 @@
+--- src/sdk/C/CpuArch.h.orig	2026-09-12 09:26:13 UTC
++++ src/sdk/C/CpuArch.h
+@@ -253,7 +253,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__) \