blob: fe20e2315bfd649fd6bbeda99b58fce730c15809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Index: libgit2-sys/Cargo.toml
===================================================================
--- libgit2-sys.orig/Cargo.toml
+++ libgit2-sys/Cargo.toml
@@ -57,8 +57,6 @@ version = "0.3.15"
https = ["openssl-sys"]
ssh = ["libssh2-sys"]
ssh_key_from_memory = []
-vendored = []
-vendored-openssl = ["openssl-sys/vendored"]
[target."cfg(unix)".dependencies.openssl-sys]
version = "0.9.45"
Index: libgit2-sys/build.rs
===================================================================
--- libgit2-sys.orig/build.rs
+++ libgit2-sys/build.rs
@@ -55,6 +55,8 @@ The build is now aborting. To disable, u
return;
}
+ panic!("debian build must never use vendored libgit2!");
+
println!("cargo:rustc-cfg=libgit2_vendored");
if !Path::new("libgit2/src").exists() {
|