forked from Lainports/freebsd-ports
math/libmesh: Broken after update to nlopt-2.9.0
Reported by: fallout
This commit is contained in:
parent
1a772660e8
commit
6a52c05d9b
2 changed files with 2 additions and 18 deletions
|
|
@ -11,6 +11,8 @@ WWW= https://libmesh.github.io \
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
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 \
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
||||||
libnlopt.so:math/nlopt
|
libnlopt.so:math/nlopt
|
||||||
TEST_DEPENDS= bash:shells/bash
|
TEST_DEPENDS= bash:shells/bash
|
||||||
|
|
|
||||||
|
|
@ -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.
|
|
||||||
*/
|
|
||||||
Loading…
Add table
Reference in a new issue