git: 16b65b96a12c - main - misc/visp: Fix build on aarch64
Mikael Urankar
mikael at FreeBSD.org
Tue Sep 14 17:56:11 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=16b65b96a12cf0df4f3e71ad6cc1105cbbe84071
commit 16b65b96a12cf0df4f3e71ad6cc1105cbbe84071
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-14 12:40:23 +0000
Commit: Mikael Urankar <mikael at FreeBSD.org>
CommitDate: 2021-09-14 17:56:04 +0000
misc/visp: Fix build on aarch64
Approved by: portmgr (build fix blanket)
---
misc/visp/files/patch-3rdparty_simdlib_Simd_SimdEnable.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
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
More information about the dev-commits-ports-all
mailing list