Date: Sun, 3 Nov 2024 20:09:36 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: be212a08acc7 - main - science/cardioid: Fix build on 15 with clang-19 Message-ID: <202411032009.4A3K9acR066463@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=be212a08acc7e9c0421b7325bed65d0ee62576c3 commit be212a08acc7e9c0421b7325bed65d0ee62576c3 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-11-03 19:15:08 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-11-03 20:09:30 +0000 science/cardioid: Fix build on 15 with clang-19 Reported by: fallout --- science/cardioid/files/patch-elec_lazy__array.hh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/science/cardioid/files/patch-elec_lazy__array.hh b/science/cardioid/files/patch-elec_lazy__array.hh new file mode 100644 index 000000000000..ea70ad9a90fa --- /dev/null +++ b/science/cardioid/files/patch-elec_lazy__array.hh @@ -0,0 +1,18 @@ +--- elec/lazy_array.hh.orig 2024-11-03 18:57:59 UTC ++++ elec/lazy_array.hh +@@ -244,6 +244,7 @@ class lazy_array + } + } + } ++#if 0 // fix build with clang-19, see https://github.com/LLNL/cardioid/issues/19 + friend inline void swap(lazy_array<TTT>& first, lazy_array<TTT>& second) + { + using std::swap; +@@ -255,6 +256,7 @@ class lazy_array + swap(first.isValid_[ispace],second.isValid_[ispace]); + } + } ++#endif + lazy_array<TTT>& operator=(lazy_array<TTT> other) + { + swap(*this,other);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411032009.4A3K9acR066463>
