Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2024 06:47:58 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: af74f60a871e - main - devel/sdsl-lite: Fix build on 15 with clang-19
Message-ID:  <202411030647.4A36lwkb076588@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=af74f60a871e4a5aa7aea787fc235a2cb760e764

commit af74f60a871e4a5aa7aea787fc235a2cb760e764
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-03 05:54:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-03 06:47:53 +0000

    devel/sdsl-lite: Fix build on 15 with clang-19
    
    Reported by:    fallout
---
 .../files/patch-include_sdsl_louds__tree.hpp          | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/devel/sdsl-lite/files/patch-include_sdsl_louds__tree.hpp b/devel/sdsl-lite/files/patch-include_sdsl_louds__tree.hpp
new file mode 100644
index 000000000000..aac7769bbd31
--- /dev/null
+++ b/devel/sdsl-lite/files/patch-include_sdsl_louds__tree.hpp
@@ -0,0 +1,19 @@
+- fix build with clang-19, see https://github.com/simongog/sdsl-lite/issues/462
+
+--- include/sdsl/louds_tree.hpp.orig	2024-11-03 05:50:59 UTC
++++ include/sdsl/louds_tree.hpp
+@@ -176,12 +176,13 @@ class louds_tree
+             return v.nr;
+         }
+ 
+-
++#if 0
+         void swap(louds_tree& tree) {
+             m_bv.swap(tree.m_bv);
+             util::swap_support(m_bv_select1, tree.m_select1, &m_bv, &(tree.m_bv));
+             util::swap_support(m_bv_select0, tree.m_select0, &m_bv, &(tree.m_bv));
+         }
++#endif
+ 
+         size_type serialize(std::ostream& out, structure_tree_node* v=nullptr, std::string name="")const {
+             structure_tree_node* child = structure_tree::add_child(v, name, util::class_name(*this));



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