diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-12-24 06:01:31 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-12-24 06:01:31 +0000 |
commit | 6f4a8b2d6df9b3830bf0ba2e90fbe77c294f2f7b (patch) | |
tree | 4658edb79ced66bfa8bf1ffb2a60eeb2d7d78be3 /devel/cargo-c/files/patch-libgit2-1.0 | |
parent | devel/llvm10, devel/llvm11: move libllvm patches (diff) |
devel/cargo-c: update to 0.7.0
Changes: https://github.com/lu-zero/cargo-c/releases/tag/v0.7.0
Reported by: GitHub (watch releases)
Notes
Notes:
svn path=/head/; revision=559049
Diffstat (limited to 'devel/cargo-c/files/patch-libgit2-1.0')
-rw-r--r-- | devel/cargo-c/files/patch-libgit2-1.0 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/cargo-c/files/patch-libgit2-1.0 b/devel/cargo-c/files/patch-libgit2-1.0 new file mode 100644 index 000000000000..e767c0ab5fd9 --- /dev/null +++ b/devel/cargo-c/files/patch-libgit2-1.0 @@ -0,0 +1,21 @@ +Revert https://github.com/rust-lang/git2-rs/commit/b830b24c8f70 +until devel/libgit2 is updated to 1.1.0 + +warning: libgit2/src/transports/ssh.c:11:10: fatal error: 'libssh2.h' file not found +warning: #include <libssh2.h> +warning: ^~~~~~~~~~~ +warning: 1 error generated. + +error: failed to run custom build command for `libgit2-sys v0.12.15+1.1.0` + +--- cargo-crates/libgit2-sys-0.12.15+1.1.0/build.rs.orig 2020-12-18 15:47:36 UTC ++++ cargo-crates/libgit2-sys-0.12.15+1.1.0/build.rs +@@ -12,7 +12,7 @@ fn main() { + // To use zlib-ng in zlib-compat mode, we have to build libgit2 ourselves. + if !zlib_ng_compat { + let mut cfg = pkg_config::Config::new(); +- if let Ok(lib) = cfg.atleast_version("1.1.0").probe("libgit2") { ++ if let Ok(lib) = cfg.atleast_version("1.0.1").probe("libgit2") { + for include in &lib.include_paths { + println!("cargo:root={}", include.display()); + } |