Debian Patches

Status for libgssw/0.0~git20211210.14b4d43+ds-2

Patch Description Author Forwarded Bugs Origin Last update
build-system.patch Build and install shared and static libraries The upstream CMake build creates only a static library and has no install
rules. Build a versioned shared library alongside the static one, let CMake
install both libraries and the public header, and add a CTest test.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d24e1ba..dc95513 100644
Andreas Tille <tille@debian.org> not-needed 2026-10-23
gssw_use_native_simd_on_x86.patch Use native SIMD intrinsics on x86 instead of forcing SIMDe aliases The header and the library unconditionally defined SIMDE_ENABLE_NATIVE_ALIASES
and included simde/x86/sse4.1.h (or sse2.h). GCC 16 now defines those SSE
intrinsics natively in its own headers (avx512vlintrin.h/smmintrin.h/
tmmintrin.h), so any translation unit that includes gssw.h and then pulls in
a native intrinsic header fails with redefinition errors, breaking reverse
dependencies such as vg on unstable. On x86 include the compiler's own
<smmintrin.h>/<emmintrin.h> depending on the enabled ISA; keep the SIMDe
fallback for architectures without SSE2. The only SSE4.1-only intrinsic used
by gssw.c (_mm_max_epu16) is emulated with SSE2 instructions so the shared
library keeps its SSE2 amd64 baseline.

diff --git a/src/gssw.c b/src/gssw.c
index 9981bf6..3bc2704 100644
Andreas Tille <tille@debian.org> no 2026-11-04

All known versions for source package 'libgssw'

Links