From 6a52c05d9bc7d5585e2b0b228f25aff4a6520b42 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 15 Nov 2024 07:58:13 -0700 Subject: [PATCH] math/libmesh: Broken after update to nlopt-2.9.0 Reported by: fallout --- math/libmesh/Makefile | 2 ++ ...patch-include_systems_parameter__accessor.h | 18 ------------------ 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 math/libmesh/files/patch-include_systems_parameter__accessor.h diff --git a/math/libmesh/Makefile b/math/libmesh/Makefile index b15a7fda9eae..e762d2d33fc9 100644 --- a/math/libmesh/Makefile +++ b/math/libmesh/Makefile @@ -11,6 +11,8 @@ WWW= https://libmesh.github.io \ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN= compilation fails with nlopt-2.9.0, see https://github.com/libMesh/libmesh/issues/4009 + LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libnlopt.so:math/nlopt TEST_DEPENDS= bash:shells/bash diff --git a/math/libmesh/files/patch-include_systems_parameter__accessor.h b/math/libmesh/files/patch-include_systems_parameter__accessor.h deleted file mode 100644 index a47628127f22..000000000000 --- a/math/libmesh/files/patch-include_systems_parameter__accessor.h +++ /dev/null @@ -1,18 +0,0 @@ ---- include/systems/parameter_accessor.h.orig 2024-11-04 03:11:10 UTC -+++ include/systems/parameter_accessor.h -@@ -112,13 +112,14 @@ class ParameterProxy (public) - /** - * Setter: change the value of the parameter we access. - */ -+#if 0 // fix build with clang-19: https://github.com/libMesh/libmesh/issues/3991 - ParameterProxy & operator = (const ParameterProxy & new_value) { _accessor.set(new_value.get()); } - - /** - * Setter: change the value of the parameter we access. - */ - ParameterProxy & operator = (const ConstParameterProxy & new_value) { _accessor.set(new_value.get()); return *this; } -- -+#endif - /** - * Setter: change the value of the parameter we access. - */