From 2db36112ab81c9defdb1f7283a02655f462b5359 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 11 Feb 2019 22:12:54 -0200 Subject: [PATCH] slcp: rebuild against libgit2.so.28 [ci skip] --- srcpkgs/slcp/patches/libgit2-0.28.patch | 14 ++++++++++++++ srcpkgs/slcp/template | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/slcp/patches/libgit2-0.28.patch diff --git a/srcpkgs/slcp/patches/libgit2-0.28.patch b/srcpkgs/slcp/patches/libgit2-0.28.patch new file mode 100644 index 00000000000..54f5008456c --- /dev/null +++ b/srcpkgs/slcp/patches/libgit2-0.28.patch @@ -0,0 +1,14 @@ +diff --git a/slcp.c b/slcp.c +index 7f12b08..e93c1fd 100644 +--- slcp.c ++++ slcp.c +@@ -106,7 +106,7 @@ int main(int argc, char* argv[]) + { + git_repo = NULL; + } +- git_buf_free(&tmpgitdb); ++ git_buf_dispose(&tmpgitdb); + + /* prepare some git information */ + if(git_repo) { + diff --git a/srcpkgs/slcp/template b/srcpkgs/slcp/template index 53e4a259fc5..6f3d4f7a946 100644 --- a/srcpkgs/slcp/template +++ b/srcpkgs/slcp/template @@ -1,7 +1,7 @@ # Template file for 'slcp' pkgname=slcp version=0.2 -revision=10 +revision=11 build_style=gnu-makefile makedepends="libgit2-devel" short_desc="Simple shell prompt written in C"