git: 0004f70716eb - main - devel/corrade: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Sep 2025 09:30:55 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0004f70716eb3ef561b8d2f0ba7699ebd77cd7a6
commit 0004f70716eb3ef561b8d2f0ba7699ebd77cd7a6
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-09-21 21:39:15 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-28 09:29:32 +0000
devel/corrade: fix build on armv7
No ifunc support on armv7.
With thanks to jrtc27@ for pointing this out.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
---
devel/corrade/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/devel/corrade/Makefile b/devel/corrade/Makefile
index 73f2bc7be921..89cd103d73d4 100644
--- a/devel/corrade/Makefile
+++ b/devel/corrade/Makefile
@@ -15,9 +15,6 @@ WWW= https://magnum.graphics/corrade/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_FreeBSD_13_armv7= compilation fails: error: use of undeclared identifier 'vshrn_high_n_u16'
-BROKEN_FreeBSD_14_armv7= compilation fails: error: use of undeclared identifier 'vshrn_high_n_u16'
-
USES= cmake:testing compiler:c++14-lang
USE_LDCONFIG= yes
@@ -25,7 +22,9 @@ USE_GITHUB= yes
GH_ACCOUNT= mosra
GH_TUPLE= mosra:toolchains:2243706:toolchains/toolchains
-CMAKE_ARGS= -DLIB_SUFFIX:STRING=""
+CMAKE_ARGS_armv7= -DCORRADE_CPU_USE_IFUNC:BOOL=OFF
+CMAKE_ARGS= -DLIB_SUFFIX:STRING="" \
+ ${CMAKE_ARGS_${ARCH}}
OPTIONS_DEFINE= TEST
TEST_CMAKE_BOOL= CORRADE_BUILD_TESTS