Package: rust-lmdb-master-sys / 0.2.5-1
Metadata
Package | Version | Patches format |
---|---|---|
rust-lmdb-master-sys | 0.2.5-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
relax deps.patch | (download) |
Cargo.toml |
2 1 + 1 - 0 ! |
use versions of build-deps available in debian |
disable features.patch | (download) |
Cargo.toml |
15 0 + 15 - 0 ! |
disable non-default features Upstream `lmdb-master-sys` relies on compiling a vendored version of `liblmdb`, providing multiple features enabled using compiler flags and defines. Our Debian package uses the pre-built packaged library, and therefore cannot provide those features. As no consumer of `lmdb-master-sys` currently relies on those features, we can disable them entirely. |
fix build.patch | (download) |
Cargo.toml |
4 2 + 2 - 0 ! |
fix build on debian Upstream code relies on building a static library from vendored source. For Debian we want to avoid this and would rather use the pre-built, packaged version of `liblmdb`. Using pkg-config is a simple way to ensure the needed linker flags (especially `-llmdb`) are used and the build can therefore succeed. |
fix bindgen feature.patch | (download) |
bindgen.rs |
14 5 + 9 - 0 ! |
fix the 'bindgen' feature The 'bindgen' feature is used to (re)generate the Rust bindings to the C library. It should not be needed since the bindings are included in the crate anyway, but in case it is, we fix it by generating them from the C headers included in the liblmdb-dev package and saving them to OUT_DIR. Note: the bindings are not generated if we cannot find the system headers in the easiest way possible. |
fix tests.patch | (download) |
Cargo.toml |
3 3 + 0 - 0 ! |
--- |