From 3a247c78bd12d5a4e071f44d8a25d995b177b992 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 28 Sep 2026 09:28:27 +0000 Subject: automatic import of libopenni2-dev --- aarch64-support.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'aarch64-support.patch') diff --git a/aarch64-support.patch b/aarch64-support.patch index e34967a..309698d 100644 --- a/aarch64-support.patch +++ b/aarch64-support.patch @@ -31,3 +31,17 @@ index 0000000..2eb8966 +# 2014-era C++ sources: build against gnu++14 to stay clear of C++17 +# removals (dynamic exception specifications, the register keyword, etc.). +CFLAGS += -std=gnu++14 +diff --git a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h +--- a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h ++++ b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h +@@ -53,6 +53,10 @@ + #include "Linux-x86/XnPlatformLinux-x86.h" + #elif (__linux__ && __arm__) + #include "Linux-Arm/XnPlatformLinux-Arm.h" ++#elif (__linux__ && __aarch64__) ++// aarch64 is little-endian LP64 Linux; the Linux-x86 platform header defines ++// only arch-neutral C types and POSIX macros (no SSE/inline-asm), so reuse it. ++#include "Linux-x86/XnPlatformLinux-x86.h" + #elif _ARC + #include "ARC/XnPlaformARC.h" + #elif (__APPLE__) -- cgit v1.2.3