From 9100e1cd39ad75f298eac1d9ffe73461fb98b258 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 11 Feb 2019 22:12:53 -0200 Subject: [PATCH] juCi++: rebuild against libgit2.so.28 [ci skip] --- srcpkgs/juCi++/patches/libgit2-0.28.patch | 23 +++++++++++++++++++++++ srcpkgs/juCi++/template | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/juCi++/patches/libgit2-0.28.patch diff --git a/srcpkgs/juCi++/patches/libgit2-0.28.patch b/srcpkgs/juCi++/patches/libgit2-0.28.patch new file mode 100644 index 00000000000..9eb910f4db3 --- /dev/null +++ b/srcpkgs/juCi++/patches/libgit2-0.28.patch @@ -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; + } + + diff --git a/srcpkgs/juCi++/template b/srcpkgs/juCi++/template index 7959defd955..55f6873c936 100644 --- a/srcpkgs/juCi++/template +++ b/srcpkgs/juCi++/template @@ -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}"