Debian Patches

Status for liquid-dsp/1.7.0-1

Patch Description Author Forwarded Bugs Origin Last update
build-static-library-with-cmake Extend CMakeLists.txt to build and install static library Andreas Bombe <aeb@debian.org> not-needed 2025-03-09
use-fftw-lib-with-cmake Detect and link with libfftw3 in cmake build Andreas Bombe <aeb@debian.org> no 2025-03-15
use-fec-lib-with-cmake Detect and link with FEC library in cmake build Andreas Bombe <aeb@debian.org> not-needed 2025-03-15
fix-chromosome-32bit Fix chromosomes for sizeof (unsigned long) == 32 In the chromosome struct, the maximum value of a trait is stored in an
unsigned long (which is 32 bits on a typical 32 bit architecture) and up to 32
bits per trait are allowed. When the full 32 bits per trait were used, the
value stored in max_value is 1 << 32 which is truncated to zero on 32 bit
architectures. This causes the limit check in chromosome_init() to always
fail.
.
While it would be sufficient to change the comparison from v >= max_value to
v > (max_value - 1), change the setting of max_value to "(1<<bits)-1". This
has the advantage of being the actual maximum value and therefore more
appropriate for the name.
Andreas Bombe <aeb@debian.org> no 2023-10-18

All known versions for source package 'liquid-dsp'

Links