Debian Patches
Status for rust-clipper2c-sys/0.2.0+ds-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| relax-cc-version.patch | Relax cc build-dependency to match Debian packaged version | Michele Cane <michele.cane@proton.me> | not-needed | 2026-06-04 | ||
| use-system-clipper2.patch | Link against Debian's system Clipper2 libraries The upstream build script compiles the bundled Clipper2 C++ implementation and SVG utility source. Debian packages Clipper2 separately, so compile only the clipper2c wrapper sources from this crate and link them against the system Clipper2 and Clipper2utils shared libraries from libclipper2-dev. |
Michele Cane <michele.cane@proton.me> | not-needed | 2026-06-18 | ||
| remove-unavailable-criterion-benchmark.patch | Remove benchmark-only Criterion dependency clipper2c-sys only uses criterion for an upstream benchmark target. Debian unstable currently has criterion 0.5, while this crate declares criterion 0.7. Drop the benchmark target and its dev-dependency from Debian package metadata so autopkgtests can validate the library without an unavailable benchmark dependency. |
Michele Cane <michele.cane@proton.me> | not-needed | 2026-06-17 | ||
| use-tempdir-for-svgreader-tests.patch | Write SVG reader test fixtures under the system temp directory Debian autopkgtests run against the installed cargo registry source, which is read-only. Upstream's SVG reader tests create fixture files under a relative .tmp directory, so they fail with EACCES in autopkgtest. Use a process-specific directory under std::env::temp_dir() instead. =================================================================== |
Michele Cane <michele.cane@proton.me> | no | 2026-06-17 | ||
| portability-hurd-and-c-char.patch | Support Hurd and portable C filename arguments The build script needs to link the C++ standard library on GNU/Hurd. The SVG-reader tests also used `*const i8` for C strings, which is not portable when Rust's target-specific C char type is unsigned. |
Michele Cane <michele.cane@proton.me> | not-needed | 2026-07-30 | ||
| disable-host-bindgen-layout-tests.patch | Disable host-specific bindgen layout tests The generated bindgen assertions encode the alignment of the host used to generate the bindings. They assume 8-byte alignment for ClipperPointD and ClipperPoint64, but those types have 4-byte alignment on i386 and hurd-i386. Disable these generated assertions so the repr(C) bindings can be compiled for targets with a different ABI alignment. |
Michele Cane <michele.cane@proton.me> | no | 2026-08-19 | ||
| realign-hurd-i386-stack.patch | Realign the C++ wrapper stack on 32-bit GNU/Hurd The hurd-i386 test binary crashes in the system Clipper2 library at an aligned SSE store to a stack address that is only eight-byte aligned. Compile the wrapper to accept four-byte incoming stack alignment and establish sixteen-byte alignment before calling the system C++ library. Keep this in build.rs so downstream builds receive the same protection; other architectures are unchanged. All 43 tests pass with these flags in a native hurd-i386 VM, whereas the unmodified package crashes with SIGILL. |
Michele Cane <michele.cane@proton.me> | no | 2026-09-12 |
All known versions for source package 'rust-clipper2c-sys'
- 0.2.0+ds-1 (forky, sid)
