Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2024 03:43:12 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7bd795a16675 - main - math/libmesh: Fix build on 15 with clang-19
Message-ID:  <202411040343.4A43hCV2017231@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
+    */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411040343.4A43hCV2017231>