zerotier: update to 1.14.0
[feed/packages.git] / net / zerotier / patches / 0003-fix-compilation-for-arm_cortex-a7-neon.patch
1 From fee674d5a5c7cc847d7e1925ddf41eea89d915c4 Mon Sep 17 00:00:00 2001
2 From: Moritz Warning <moritzwarning@web.de>
3 Date: Mon, 4 Jul 2022 00:10:52 +0200
4 Subject: [PATCH 3/5] fix compilation for arm_cortex-a7+neon
5
6 Fixes "error: 'vrbitq_u8' was not declared in this scope"
7
8 Signed-off-by: Rosen Penev <rosenp@gmail.com>
9 ---
10 node/Constants.hpp | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/node/Constants.hpp
14 +++ b/node/Constants.hpp
15 @@ -123,7 +123,7 @@
16 #include <immintrin.h>
17 #endif
18
19 -#if (defined(__ARM_NEON) || defined(__ARM_NEON__) || defined(ZT_ARCH_ARM_HAS_NEON))
20 +#if (defined(__aarch64__) || defined(ZT_ARCH_ARM_HAS_NEON))
21 #if (defined(__APPLE__) && !defined(__LP64__)) || (defined(__ANDROID__) && defined(__arm__))
22 #ifdef ZT_ARCH_ARM_HAS_NEON
23 #undef ZT_ARCH_ARM_HAS_NEON