Debian Patches
Status for duckdb/2.0.0+dfsg2-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 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 | ||
| 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-10-25 | ||
| 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-10-25 | ||
| 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 | ||
| disable-extension-autoinstall-default.patch | Disable autoinstall of known extensions by default | Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-10-23 | ||
| mysql-use-system-libmariadb.patch | Use system libmariadb mysql_scanner's CMakeLists.txt hardcodes vcpkg-only paths (vcpkg_ports/libmariadb, vcpkg_installed/.../include/mysql). Replace with pkg-config against Debian's libmariadb-dev. |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-10-23 | ||
| trust-system-extensions.patch | Trust the system extension directory for signature checks Debian-built extensions under /usr/lib/duckdb/extensions/ are built from source during packaging; there is no upstream signing key available for them, so they would otherwise need -unsigned to load. Mark the directory set via DEBIAN_DUCKDB_SYSTEM_EXTENSION_PATH as implicitly trusted instead. Every other extension (including a user's own ~/.duckdb/extensions copy) still requires a valid signature. Also prefer the packaged copy over any local copy of the same extension in ~/.duckdb/extensions, with a warning (users can still load their own copy explicitly via its full path). |
Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-10-23 | ||
| extension-no-git-version.patch | Fix out-of-tree extensions reporting an empty or wrong version | Dominique Belhachemi <domibel@debian.org> | not-needed | 2026-10-26 |
All known versions for source package 'duckdb'
- 2.0.0+dfsg2-1 (forky, sid)
