juCi++: rebuild against libgit2.so.28

[ci skip]
This commit is contained in:
maxice8 2019-02-11 22:12:53 -02:00
parent d2d7d0b6d9
commit 9100e1cd39
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
diff --git a/src/git.cc b/src/git.cc
index 9da2d7b..45e9007 100644
--- src/git.cc
+++ src/git.cc
@@ -6,7 +6,7 @@ bool Git::initialized = false;
std::mutex Git::mutex;
std::string Git::Error::message() noexcept {
- const git_error *last_error = giterr_last();
+ const git_error *last_error = git_error_last();
if(last_error == nullptr)
return std::string();
else
@@ -244,7 +244,7 @@ boost::filesystem::path Git::Repository::get_root_path(const boost::filesystem::
throw std::runtime_error(error.message());
}
auto root_path = Git::path(root.ptr, root.size);
- git_buf_free(&root);
+ git_buf_dispose(&root);
return root_path;
}

View File

@ -1,7 +1,7 @@
# Template file for 'juCi++'
pkgname=juCi++
version=1.4.6
revision=3
revision=4
_libclangmm_commit="2b2f2ead1f685a9efb28ee2c0ff3cbe452a724dd"
_tiny_commit="54b95a21cf35f8467e21038f523fd3342a77de4c"
wrksrc="jucipp-v${version}"