Debian Patches
Status for libkff/0.0~git20250321.cf4d866-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| add-install-rules.patch | Add install rules for the library and the generated header Upstream ships no install() rules, so neither the library nor the header generated from kff_io.hpp.in by configure_file() would be installed. Also give the library a versioned soname and use GNUInstallDirs for the destination directories. diff --git a/CMakeLists.txt b/CMakeLists.txt index 50a9a3f..4a72737 100644 |
Andreas Tille <tille@debian.org> | no | 2026-10-25 | ||
| build-static-and-shared-library.patch | Build static and shared libraries Upstream builds only a single library whose kind depends on BUILD_SHARED_LIBS. d-shlibmove expects the static libkff.a next to the shared libkff.so, so build both explicitly from the same sources. |
Andreas Tille <tille@debian.org> | no | 2026-10-30 | ||
| fix-32bit-store-big-endian.patch | Fix 8-byte big-endian stores on 32-bit platforms store_big_endian() shifts its argument right by up to 56 bits. When the argument is a 32-bit value (e.g. std::map::size() returns size_t, which is 32 bits on i386), that shift is undefined behaviour and GCC on i386 masks the shift count modulo 32, so a value of 2 is written as 00 00 00 02 00 00 00 02. This corrupts the index section: the reader then finds the section header in the wrong place and throws std::out_of_range while looking for the trailing signature at the end of the file, failing the autopkgtest on i386. Widening the argument to uint64_t before shifting makes the store correct for any input type. |
Andreas Tille <tille@debian.org> | no | 2026-11-10 |
All known versions for source package 'libkff'
- 0.0~git20250321.cf4d866-3 (forky, sid)
