From 2d1b76e570489462b5c891f7b25f38dc864eb642 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Wed, 3 Sep 2025 11:54:07 +0200 Subject: [PATCH] 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 \