summaryrefslogtreecommitdiff
path: root/math/libmesh/files
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-11-03 19:42:52 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2024-11-03 19:42:52 -0800
commit7bd795a16675dafbf093826231f0d1bc026bdf84 (patch)
tree23f071a03adcfcae1b8248cfdc9c91bdb27d4b40 /math/libmesh/files
parentfinance/fabric: Fix fetch (diff)
math/libmesh: Fix build on 15 with clang-19
Diffstat (limited to 'math/libmesh/files')
-rw-r--r--math/libmesh/files/patch-include_systems_parameter__accessor.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/libmesh/files/patch-include_systems_parameter__accessor.h b/math/libmesh/files/patch-include_systems_parameter__accessor.h
new file mode 100644
index 000000000000..a47628127f22
--- /dev/null
+++ b/math/libmesh/files/patch-include_systems_parameter__accessor.h
@@ -0,0 +1,18 @@
+--- 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.
+ */