summaryrefslogtreecommitdiff
path: root/aarch64-support.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-24 07:29:00 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-24 07:29:00 +0000
commit77ebaf00e59ed841886941e9be46f81e27108462 (patch)
treef1d8d5574cd7e9c28b6002f4b8aed0b7c0626b8b /aarch64-support.patch
parentd53d78aa62a30a1d51f122fffe70e9512d3c1a6a (diff)
automatic import of libopenni2-dev
Diffstat (limited to 'aarch64-support.patch')
-rw-r--r--aarch64-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/aarch64-support.patch b/aarch64-support.patch
index d88fb16..424ec52 100644
--- a/aarch64-support.patch
+++ b/aarch64-support.patch
@@ -1,3 +1,16 @@
+diff --git a/Include/OniPlatform.h b/Include/OniPlatform.h
+index 602b4ba..7de181a 100644
+--- a/Include/OniPlatform.h
++++ b/Include/OniPlatform.h
+@@ -41,6 +41,8 @@
+ # include "Linux-x86/OniPlatformLinux-x86.h"
+ #elif (__linux__ && __arm__)
+ # include "Linux-Arm/OniPlatformLinux-Arm.h"
++#elif (__linux__ && __aarch64__)
++# include "Linux-x86/OniPlatformLinux-x86.h"
+ #elif _ARC
+ # include "ARC/OniPlaformARC.h"
+ #elif (__APPLE__)
diff --git a/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak b/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
index dd88b04..7454e8a 100644
--- a/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
@@ -32,6 +45,7 @@ index 0000000..2eb8966
+# 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
+index 07e8192..93d8567 100644
--- a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h
+++ b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h
@@ -53,6 +53,8 @@