void-packages/srcpkgs/pijul/patches/bindgen.patch
John a2716dde75 pijul: fix build
sequoia was so wise to yank the unmaintained rfc2822 package from crates.io
but kept like all their old sequio crates up that depend on it.

So just fetch that crate from their gitlab.
2021-02-18 20:16:48 +01:00

10 lines
333 B
Diff

--- Cargo.toml.orig
+++ Cargo.toml
@@ -133,3 +133,7 @@
version = "2.0"
[target."cfg(unix)".dependencies.tokio-uds]
version = "0.2"
+
+[patch.crates-io]
+"bindgen" = {git = 'https://github.com/Duncaen/rust-bindgen', rev = "e70d9568887ffb6c2a7d7d165a71aed311a29129"}
+"sequoia-rfc2822" = {path = '/builddir/sequoia-v0.9.0/rfc2822'}