git: 7f05ce8c3117 - main - devel/git-repo-manager: Unbreak build with libgit2 1.8.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Aug 2024 11:42:41 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f05ce8c311700dfeaa8799654e25b8e63ddfbe7 commit 7f05ce8c311700dfeaa8799654e25b8e63ddfbe7 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-08-10 11:32:38 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-08-10 11:42:31 +0000 devel/git-repo-manager: Unbreak build with libgit2 1.8.1 PR: 280708 Approved by: portmgr (blanket, build fix) --- devel/git-repo-manager/files/patch-libgit2-1.8.x | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/git-repo-manager/files/patch-libgit2-1.8.x b/devel/git-repo-manager/files/patch-libgit2-1.8.x new file mode 100644 index 000000000000..b0ec8036a466 --- /dev/null +++ b/devel/git-repo-manager/files/patch-libgit2-1.8.x @@ -0,0 +1,13 @@ +https://github.com/rust-lang/git2-rs/commit/b534e13f38c6 + +--- cargo-crates/libgit2-sys-0.16.2+1.7.2/build.rs.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/libgit2-sys-0.16.2+1.7.2/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.7.2".."1.8.0").probe("libgit2") { ++ match cfg.range_version("1.7.2".."1.9.0").probe("libgit2") { + Ok(lib) => { + for include in &lib.include_paths { + println!("cargo:root={}", include.display());