summaryrefslogtreecommitdiff
path: root/libopenni2-dev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libopenni2-dev.spec')
-rw-r--r--libopenni2-dev.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/libopenni2-dev.spec b/libopenni2-dev.spec
index 002c513..22b1a30 100644
--- a/libopenni2-dev.spec
+++ b/libopenni2-dev.spec
@@ -7,7 +7,7 @@
Name: libopenni2-dev
Version: 2.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: OpenNI 2 framework for 3D sensors (development package)
License: Apache-2.0
@@ -19,6 +19,7 @@ Patch0: aarch64-support.patch
Group: Development/Libraries
Packager: openEuler Builder <builder@openeuler.org>
+BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: libusbx-devel
@@ -93,5 +94,13 @@ install -p -m 0644 Include/*.h %{buildroot}%{_includedir}/openni2/
%{_includedir}/openni2/
%changelog
+* Thu Sep 24 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-2
+- Extend aarch64-support.patch: route __aarch64__ in XnPlatform.h to the
+ arch-neutral Linux-x86 platform header so the C++ build no longer hits
+ '#error Unsupported Platform' and the XnChar/XnUInt32/XnUInt64 typedefs
+ resolve. The original patch only taught the Makefile build system about
+ aarch64 (CommonDefs.mak + Platform.Arm64); the C++ header still fell
+ through to the unsupported-platform #error.
+
* Thu Sep 24 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-1
- Initial package of OpenNI 2.2.0 for openEuler (aarch64 native build)