summaryrefslogtreecommitdiff
path: root/devel/cargo-c/files/patch-libgit2-1.8.x
blob: 08c3c329c7f5bdee9e05f6ec2ebb89811d4de7f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/rust-lang/git2-rs/commit/a660082a7332

--- cargo-crates/libgit2-sys-0.18.1+1.9.0/build.rs.orig	2006-07-24 01:21:28 UTC
+++ cargo-crates/libgit2-sys-0.18.1+1.9.0/build.rs
@@ -7,7 +7,7 @@ fn try_system_libgit2() -> Result<pkg_config::Library,
 /// Tries to use system libgit2 and emits necessary build script instructions.
 fn try_system_libgit2() -> Result<pkg_config::Library, pkg_config::Error> {
     let mut cfg = pkg_config::Config::new();
-    match cfg.range_version("1.9.0".."1.10.0").probe("libgit2") {
+    match cfg.range_version("1.8.0".."1.10.0").probe("libgit2") {
         Ok(lib) => {
             for include in &lib.include_paths {
                 println!("cargo:root={}", include.display());