Package: libsdsl / 2.1.1+dfsg-6

Metadata

Package Version Patches format
libsdsl 2.1.1+dfsg-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Patch cmake files.patch | (download)

CMakeLists.txt | 10 1 + 9 - 0 !
include/sdsl/CMakeLists.txt | 2 1 + 1 - 0 !
lib/CMakeLists.txt | 8 4 + 4 - 0 !
3 files changed, 6 insertions(+), 14 deletions(-)

 patch cmake files

We change three things:

   * we comment out machine-specific compiler flags
   * we disable compilation of "external" libraries; libdivsufsort is
     packaged in Debian now
   * use GNUInstallDirs

use_debian_packaged_d3.patch | (download)

lib/structure_tree.cpp.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use d3.min.js from libjs-d3
typo_caught_by_gcc15.patch | (download)

include/sdsl/louds_tree.hpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix likely typo caught by modern compilers.
 This change fixes:
 .
        /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp:182:51: error: class sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t> has no member named m_select1; did you mean m_bv_select1? [-Wtemplate-body]
          182 |             util::swap_support(m_bv_select1, tree.m_select1, &m_bv, &(tree.m_bv));
              |                                                   ^~~~~~~~~
              |                                                   m_bv_select1
        /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp:183:51: error: class sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t> has no member named m_select0; did you mean m_bv_select0? [-Wtemplate-body]
          183 |             util::swap_support(m_bv_select0, tree.m_select0, &m_bv, &(tree.m_bv));
              |                                                   ^~~~~~~~~
              |                                                   m_bv_select0
 .
 The fix is inspired by Daniel Saad's comment in the related Github
 issue.
cmake 4.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 bump cmake requirement to 3.10.
 This fixes error and warning about requirement too old with cmake 4.