misc/visp: Fix build on aarch64

This commit is contained in:
Yuri Victorovich 2022-05-16 11:21:25 -07:00
parent 4c087c8aff
commit 1178870e81
3 changed files with 6 additions and 15 deletions

View File

@ -3,14 +3,15 @@ DISTVERSION= 3.5.0
CATEGORIES= misc
MASTER_SITES= https://visp-doc.inria.fr/download/releases/
PATCH_SITES= https://github.com/lagadic/${PORTNAME}/commit/
PATCHFILES= ff554ca8be5f43a3470e1cb20150d8171a66b463.patch:-p1 # fix https://github.com/lagadic/visp/issues/1059
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modular library for visual tracking and visual servoing
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= fatal error: 'asm/hwcap.h' file not found, see https://github.com/lagadic/visp/issues/1059
LIB_DEPENDS= libblas.so:math/blas \
libboost_system.so:devel/boost-libs \
libdmtx.so:graphics/libdmtx \

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1651445570
TIMESTAMP = 1652724151
SHA256 (visp-3.5.0.zip) = b9ac205091911291bc8e866f3a32d11f2b72389a170ea5f0f309ceb21c131d95
SIZE (visp-3.5.0.zip) = 54987858
SHA256 (ff554ca8be5f43a3470e1cb20150d8171a66b463.patch) = c44e3cf58005a060a5190cd84d6e9c20f7e479131f1c6fb05cfdf52a014fa5b8
SIZE (ff554ca8be5f43a3470e1cb20150d8171a66b463.patch) = 1857

View File

@ -1,12 +0,0 @@
--- 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