juCi++: update to 1.5.0.

This commit is contained in:
John 2019-09-25 14:10:24 +03:00
parent 56ac452814
commit 330b2d09a1
2 changed files with 7 additions and 30 deletions

View file

@ -1,23 +0,0 @@
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,9 +1,9 @@
# Template file for 'juCi++'
pkgname=juCi++
version=1.4.6
revision=5
_libclangmm_commit="2b2f2ead1f685a9efb28ee2c0ff3cbe452a724dd"
_tiny_commit="54b95a21cf35f8467e21038f523fd3342a77de4c"
version=1.5.0
revision=1
_libclangmm_commit="687b9c231d850504ec515acb9ccab73f26c34063"
_tiny_commit="a6773276efdbc322f1abb0159301f5502647eb52"
wrksrc="jucipp-v${version}"
build_style=cmake
hostmakedepends="pkg-config"
@ -16,9 +16,9 @@ homepage="https://gitlab.com/cppit/jucipp"
distfiles="https://gitlab.com/cppit/jucipp/-/archive/v${version}/jucipp-v${version}.tar.gz
https://gitlab.com/cppit/libclangmm/-/archive/${_libclangmm_commit}/libclangmm-${_libclangmm_commit}.tar.gz
https://gitlab.com/eidheim/tiny-process-library/-/archive/${_tiny_commit}/tiny-process-library-${_tiny_commit}.tar.gz"
checksum="e46863c272b1ff153f8e834ec8f3902b8c7de01b4f1ef4d980e27e1d6e7bd1e4
8d7f83a6f4544033cd6a790cc497475521bf15ed620fbcd0014597a2d5ae6481
9f5713440aa0c1d4dcd665a1e264a1d0c6bed75edf1a80996b1f6e2231184d1e"
checksum="178f25db2105ee35db0a1b9a4a19205c737b416adda7d05d3b34a2b7cecd3c87
bdc4ecf59f5de2a3ade04fac1c298b87c1af59653eaa2993d45adc0fa7d8389d
99e0c1a2ddc59bbb30f0e6cccd9669ddc79952d4aa54ae1d6c72f9d1cf297231"
nocross=yes #clang cannot be installed as makedepends when cross compiling
post_extract() {