Debian Patches

Status for sshash/3.0.0+git20260309.028010d-1

Patch Description Author Forwarded Bugs Origin Last update
use-packaged-libs.patch Use the packaged pthash and libbits instead of the git submodules sshash ships pthash as a git submodule and addresses its headers, as well as
the pthash-bundled bits headers, with paths relative to the repository root.
Debian builds against the packaged libpthash-dev and libbits-dev, so obtain
the include flags from pkg-config and include those headers by their installed
names. The in-tree cityhash, gz/zip_stream and command line parser headers
are made reachable from the include directories that CMake adds.
.
The headers that are installed for consumers (streaming_query.hpp,
hash_util.hpp and offsets.hpp) must find their neighbours by bare name, so
rewrite those includes as well.
Andreas Tille <tille@debian.org> not-needed 2026-11-20
build-and-install-library.patch Build the dictionary instantiation into the library and install it Upstream only instantiates dictionary<default_kmer_t, decoded_offsets> inside
the standalone tools, never in the static library, so linking against
libsshash.a from another program fails with undefined references. Compile
the instantiation that Debian ships in debian/explicit_instantiation.cpp into
sshash_static, and install the library with CMake so that dh_auto_install
puts it into the multiarch library directory.
Andreas Tille <tille@debian.org> not-needed 2026-11-20
install-command-line-tool.patch Install the sshash command line tool Upstream only installs the sshash executable for conda builds, into the
non-multiarch bin directory. Install it unconditionally into
CMAKE_INSTALL_BINDIR so that a regular Debian package can ship it.
Andreas Tille <tille@debian.org> not-needed 2026-11-21
enable-tests.patch Register the upstream unit test with CTest Upstream builds test_alphabet but never calls enable_testing() nor registers
the executable, so dh_auto_test runs nothing. Enable testing and add
test_alphabet, run with the maximum k-mer length that it supports.
Andreas Tille <tille@debian.org> not-needed 2026-11-21
no-forced-isa.patch Do not force AVX2 and BMI2 when building the library Building with -mbmi2 -mavx2 makes the resulting static library trap with
SIGILL on x86-64 CPUs that do not implement those instruction sets, and
Debian's amd64 baseline only guarantees SSE2. Bind the flags to the existing
SSHASH_USE_ARCH_NATIVE option, which is off by default; the portable fallback
code paths are compiled unconditionally.
Andreas Tille <tille@debian.org> not-needed 2026-11-20
fix_is_member.patch Fix dictionary::is_member() comparing lookup_result with uint64_t is_member() was never instantiated upstream, so the type error stayed
unnoticed; the explicit instantiation in debian/ exposes it.
Andreas Tille <tille@debian.org> no 2026-11-19
build-shared-library.patch Build a shared library and link the tools against it Upstream only builds a static library, so every consumer (and the sshash
command line tool itself) gets its own copy of the dictionary code. Add a
shared library target with the conventional libsshash.so.0 SONAME and link the
executables and the unit test against it, so that the Debian package can ship
a runtime library package and link dynamically.
Andreas Tille <tille@debian.org> not-needed 2026-11-21

All known versions for source package 'sshash'

Links