commit bc0d53521ff675f6f2af8c346043b923885e3178
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Nov 20 00:27:12 2022 +0000
add patch to fix armv7 build
armv7_build_fix.patch | 13 +++++++++++++
olive.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/armv7_build_fix.patch b/armv7_build_fix.patch
new file mode 100644
index 0000000..97bd67c
--- /dev/null
+++ b/armv7_build_fix.patch
@@ -0,0 +1,13 @@
+https://github.com/xmrig/xmrig/pull/2882
+
+--- ./ext/sse2neon.h.orig 2022-11-20 00:23:25.252409583 +0000
++++ ./ext/sse2neon.h 2022-11-20 00:23:30.429390486 +0000
+@@ -390,7 +390,7 @@ FORCE_INLINE uint32_t _mm_crc32_u8(uint3
+
+ // Older gcc does not define vld1q_u8_x4 type
+ #if defined(__GNUC__) && !defined(__clang__) &&
\
+- ((__GNUC__ <= 10 && defined(__arm__)) || \
++ ((__GNUC__ <= 11 && defined(__arm__)) || \
+ (__GNUC__ == 10 && __GNUC_MINOR__ < 3 && defined(__aarch64__))
|| \
+ (__GNUC__ <= 9 && defined(__aarch64__)))
+ FORCE_INLINE uint8x16x4_t _sse2neon_vld1q_u8_x4(const uint8_t *p)
diff --git a/olive.spec b/olive.spec
index 2b59b74..a1f4fe8 100644
--- a/olive.spec
+++ b/olive.spec
@@ -26,6 +26,7 @@ Source0:
https://github.com/olive-editor/%{name}/archive/%{commit0}/%{nam
%else
Source0:
https://github.com/olive-editor/%{name}/archive/%{version}.tar.gz#/%{name...
%endif
+Patch0: armv7_build_fix.patch
BuildRequires: cmake
BuildRequires: frei0r-devel
@@ -104,6 +105,7 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/%{unique_name
%changelog
* Sat Nov 19 2022 Sérgio Basto <sergio(a)serjux.com> - 0.2.0-0.10.20221118git5fce683
- Update to olive-20221118git5fce683
+- add armv7_build_fix.patch
* Fri Nov 11 2022 Leigh Scott <leigh123linux(a)gmail.com> -
0.1.2-0.9.20220818gitb169ad9
- rebuilt