diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-28 09:49:43 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-28 09:49:43 +0000 |
| commit | c19f5739e2f756365b4ea2ef8cb88d1a1361c09e (patch) | |
| tree | 8eba691d47c7eae4fd006e02b7761670ef279839 | |
| parent | c0e122f78d09b2f3eea76ac27e55dafd9e9ab496 (diff) | |
automatic import of libopenni2-dev
| -rw-r--r-- | aarch64-support.patch | 2 | ||||
| -rw-r--r-- | libopenni2-dev.spec | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/aarch64-support.patch b/aarch64-support.patch index 49541e4..4b3e24a 100644 --- a/aarch64-support.patch +++ b/aarch64-support.patch @@ -48,7 +48,7 @@ diff --git a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h b/ThirdParty/PSCommo diff --git a/Include/OniPlatform.h b/Include/OniPlatform.h --- a/Include/OniPlatform.h +++ b/Include/OniPlatform.h -@@ -42,6 +42,10 @@ +@@ -42,5 +42,9 @@ #elif (__linux__ && __arm__) # include "Linux-Arm/OniPlatformLinux-Arm.h" +#elif (__linux__ && __aarch64__) diff --git a/libopenni2-dev.spec b/libopenni2-dev.spec index 9b7c98f..1b34d81 100644 --- a/libopenni2-dev.spec +++ b/libopenni2-dev.spec @@ -7,7 +7,7 @@ Name: libopenni2-dev Version: 2.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OpenNI 2 framework for 3D sensors (development package) License: Apache-2.0 @@ -93,6 +93,16 @@ install -p -m 0644 Include/*.h %{buildroot}%{_includedir}/openni2/ %{_includedir}/openni2/ %changelog +* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-4 +- Fix aarch64-support.patch: the Include/OniPlatform.h hunk header was + miscounted (@@ -42,6 +42,10 @@ claimed 6 context / 10 total lines but + the body actually has 5 context + 4 added = 9 lines). GNU patch rejected the + hunk at %prep ("1 out of 1 hunk FAILED -- saving rejects to OniPlatform.h.rej") + so build 113192 never reached %build. Corrected the header to + @@ -42,5 +42,9 @@; the aarch64 branch insertion is unchanged and applies + cleanly (verified locally). The hunk content is __aarch64__-guarded so this + is a no-op on any other arch. + * Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-3 - Extend aarch64-support.patch: add __aarch64__ branch to the public API header Include/OniPlatform.h (same pattern as the XnPlatform.h fix in -2). |
