git: 6a52c05d9bc7 - main - math/libmesh: Broken after update to nlopt-2.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 18:44:15 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6a52c05d9bc7d5585e2b0b228f25aff4a6520b42
commit 6a52c05d9bc7d5585e2b0b228f25aff4a6520b42
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-15 14:58:13 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-15 18:44:11 +0000
math/libmesh: Broken after update to nlopt-2.9.0
Reported by: fallout
---
math/libmesh/Makefile | 2 ++
.../files/patch-include_systems_parameter__accessor.h | 18 ------------------
2 files changed, 2 insertions(+), 18 deletions(-)
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<T> & new_value) { _accessor.set(new_value.get()); }
-
- /**
- * Setter: change the value of the parameter we access.
- */
- ParameterProxy & operator = (const ConstParameterProxy<T> & new_value) { _accessor.set(new_value.get()); return *this; }
--
-+#endif
- /**
- * Setter: change the value of the parameter we access.
- */