File: disable-vendor.patch

package info (click to toggle)
rust-libgit2-sys 0.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 284 kB
  • sloc: makefile: 4
file content (22 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -57,8 +57,6 @@
 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"
--- a/build.rs
+++ b/build.rs
@@ -22,6 +22,8 @@
         }
     }
 
+    panic!("debian build must never use vendored libgit2!");
+
     println!("cargo:rustc-cfg=libgit2_vendored");
 
     if !Path::new("libgit2/src").exists() {