Debian Patches
Status for duckdb/1.5.5-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| use-system-zstd.patch | Use system zstd and xxhash libraries Adds USE_SYSTEM_ZSTD cmake option. When enabled, thin shim headers include system zstd.h and xxhash.h inside the duckdb_zstd namespace so that existing duckdb_zstd:: references remain valid without patching all call sites. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-03-27 | ||
| use-system-parquet-codecs.patch | Use system snappy, lz4, and brotli for the parquet extension Adds USE_SYSTEM_SNAPPY, USE_SYSTEM_LZ4, and USE_SYSTEM_BROTLI cmake options. When enabled, thin namespace-shim headers redirect the duckdb_* private namespaces to the system library symbols. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-03-22 | ||
| use-system-yyjson.patch | Use system yyjson library Adds USE_SYSTEM_YYJSON cmake option. When enabled, a thin shim header includes system yyjson.h inside the duckdb_yyjson namespace so that struct definitions complete DuckDB's existing forward declarations. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-03-22 | ||
| use-system-mbedtls.patch | Use system mbedtls library Adds USE_SYSTEM_MBEDTLS cmake option. When enabled, only mbedtls_wrapper.cpp is compiled and linked against system MbedTLS::mbedcrypto. System headers are used (via src/include/shims/mbedtls/) to avoid struct size mismatches between the stripped-down bundled config and the system library. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-03-30 | ||
| fix-platform-detection.patch | Fix platform detection On riscv64, DuckDB incorrectly downloaded x86-64 extension binaries due to an incorrect fallback: all unknown 64-bit architectures defaulted to "amd64". Replace INTPTR_MAX-based arch detection with explicit per-architecture checks. Add explicit detection for Alpha and GNU/Hurd platforms. Any other architecture reports "unknown_arch", so extension installation fails with a clear error rather than silently downloading the wrong binary. |
Dominique Belhachemi <domibel@debian.org> | yes | 2026-08-11 | ||
| hurd-portability.patch | Hurd portability fixes Hurd lacks sched_getcpu(), pthread_setaffinity_np(), MADV_DONTDUMP. Adds PATH_MAX=4096 fallback. Restricts __MACH__ semaphore code to __APPLE__. Guards MADVISE_DONTDUMP with __linux__. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-08-11 |
