mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
juCi++: rebuild against libgit2.so.28
[ci skip]
This commit is contained in:
parent
d2d7d0b6d9
commit
9100e1cd39
2 changed files with 24 additions and 1 deletions
23
srcpkgs/juCi++/patches/libgit2-0.28.patch
Normal file
23
srcpkgs/juCi++/patches/libgit2-0.28.patch
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'juCi++'
|
# Template file for 'juCi++'
|
||||||
pkgname=juCi++
|
pkgname=juCi++
|
||||||
version=1.4.6
|
version=1.4.6
|
||||||
revision=3
|
revision=4
|
||||||
_libclangmm_commit="2b2f2ead1f685a9efb28ee2c0ff3cbe452a724dd"
|
_libclangmm_commit="2b2f2ead1f685a9efb28ee2c0ff3cbe452a724dd"
|
||||||
_tiny_commit="54b95a21cf35f8467e21038f523fd3342a77de4c"
|
_tiny_commit="54b95a21cf35f8467e21038f523fd3342a77de4c"
|
||||||
wrksrc="jucipp-v${version}"
|
wrksrc="jucipp-v${version}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue