git: 2d1b76e57048 - main - math/labplot: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Sep 2025 15:10:07 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2d1b76e570489462b5c891f7b25f38dc864eb642
commit 2d1b76e570489462b5c891f7b25f38dc864eb642
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-09-03 09:54:07 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-11 15:09:48 +0000
math/labplot: fix build on armv7
Something (I couldn't quite figure out what) adds -Werror=undef to the
CPPFLAGS, causing a fatal warning somewhere in the Eigen headers:
/usr/local/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h:3924:5: error: 'EIGEN_HAS_ARM64_FP16_VECTOR_ARITHMETIC'
is not defined, evaluates to 0 [-Werror,-Wundef]
3924 | #if EIGEN_HAS_ARM64_FP16_VECTOR_ARITHMETIC
| ^
Making this warning not an error fixes the build.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
---
math/labplot/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index 2ccd56f65050..a2ff6b0f5b21 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -32,6 +32,8 @@ USE_XORG= x11 xcb
KDE_INVENT= 110f258e44a45354c5219e497409a22185fa2933 education labplot
+CXXFLAGS+= -Wno-error=undef
+
PLIST_SUB= SHLIB_VER=${PORTVERSION}
OPTIONS_DEFINE= CANTOR FITS FFTW3 HDF5 LIBCERF MATLAB NETCDF ORCUS \