]> git.pld-linux.org Git - packages/cargo.git/blob - use-system-libgit2.patch
- cleaned up, seems building
[packages/cargo.git] / use-system-libgit2.patch
1 Description: Always use system libgit2
2 Author: Ximin Luo <infinity0@debian.org>
3 Forwarded: not-needed
4 ---
5 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
6 --- a/vendor/libgit2-sys-0.6.7/build.rs
7 +++ b/vendor/libgit2-sys-0.6.7/build.rs
8 @@ -31,10 +31,8 @@
9      }
10      let has_pkgconfig = Command::new("pkg-config").output().is_ok();
11  
12 -    if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
13 -        if pkg_config::find_library("libgit2").is_ok() {
14 -            return
15 -        }
16 +    if pkg_config::find_library("libgit2").is_ok() {
17 +        return
18      }
19  
20      if !Path::new("libgit2/.git").exists() {
21 --- a/vendor/libgit2-sys-0.6.7/.cargo-checksum.json
22 +++ b/vendor/libgit2-sys-0.6.7/.cargo-checksum.json
23 @@ -1 +1 @@
24 -{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Cargo.toml":"c318824e037626c1e2574afbe8d33d6a31ad9a7c9179dd81ac06ce4b16a1de98","build.rs":"32f1614473508047c68a95977074c32a41fafb7f08b26f9d5dd937576ecc594f","lib.rs":"427ae51eeab835af5bd1fc26f9b2eaad1f9fd58671ec080eb9def921dcfe2420"},"package":"d951fd5eccae07c74e8c2c1075b05ea1e43be7f8952245af8c2840d1480b1d95"}
25 \ No newline at end of file
26 +{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Cargo.toml":"c318824e037626c1e2574afbe8d33d6a31ad9a7c9179dd81ac06ce4b16a1de98","build.rs":"7006deca0e11974227326174088500df8f7d1708839378edfd242a11ed7f18c9","lib.rs":"427ae51eeab835af5bd1fc26f9b2eaad1f9fd58671ec080eb9def921dcfe2420"},"package":"d951fd5eccae07c74e8c2c1075b05ea1e43be7f8952245af8c2840d1480b1d95"}
This page took 0.053626 seconds and 3 git commands to generate.