mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
math/libmesh: Broken after update to nlopt-2.9.0
Reported by: fallout
This commit is contained in:
parent
1a772660e8
commit
6a52c05d9b
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user