git: 7bd795a16675 - main - math/libmesh: Fix build on 15 with clang-19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Nov 2024 03:43:12 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bd795a16675dafbf093826231f0d1bc026bdf84 commit 7bd795a16675dafbf093826231f0d1bc026bdf84 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-11-04 03:42:52 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-11-04 03:42:52 +0000 math/libmesh: Fix build on 15 with clang-19 --- .../files/patch-include_systems_parameter__accessor.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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. + */