aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-09-14 12:40:23 +0000
committerMikael Urankar <mikael@FreeBSD.org>2021-09-14 17:56:04 +0000
commit16b65b96a12cf0df4f3e71ad6cc1105cbbe84071 (patch)
treebbf7e42387f6514c025248c1c7963d817e9db8f2
parent781f933e83cd2f3ed75136245c7b373e64744ee6 (diff)
downloadports-16b65b96a12cf0df4f3e71ad6cc1105cbbe84071.tar.gz
ports-16b65b96a12cf0df4f3e71ad6cc1105cbbe84071.zip
misc/visp: Fix build on aarch64
Approved by: portmgr (build fix blanket)
-rw-r--r--misc/visp/files/patch-3rdparty_simdlib_Simd_SimdEnable.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/visp/files/patch-3rdparty_simdlib_Simd_SimdEnable.h b/misc/visp/files/patch-3rdparty_simdlib_Simd_SimdEnable.h
new file mode 100644
index 000000000000..99039fe53c56
--- /dev/null
+++ b/misc/visp/files/patch-3rdparty_simdlib_Simd_SimdEnable.h
@@ -0,0 +1,12 @@
+--- 3rdparty/simdlib/Simd/SimdEnable.h.orig 2021-09-14 12:31:27 UTC
++++ 3rdparty/simdlib/Simd/SimdEnable.h
+@@ -51,7 +51,9 @@
+ #include <fcntl.h>
+ #include <sys/auxv.h>
+ #if defined(SIMD_ARM_ENABLE) || defined(SIMD_ARM64_ENABLE)
++#if defined(__linux__)
+ #include <asm/hwcap.h>
++#endif
+ #endif
+ #endif
+ #endif