slcp: rebuild against libgit2.so.28
[ci skip]
This commit is contained in:
parent
fab1d6694c
commit
2db36112ab
2 changed files with 15 additions and 1 deletions
14
srcpkgs/slcp/patches/libgit2-0.28.patch
Normal file
14
srcpkgs/slcp/patches/libgit2-0.28.patch
Normal file
|
@ -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) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'slcp'
|
# Template file for 'slcp'
|
||||||
pkgname=slcp
|
pkgname=slcp
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=10
|
revision=11
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libgit2-devel"
|
makedepends="libgit2-devel"
|
||||||
short_desc="Simple shell prompt written in C"
|
short_desc="Simple shell prompt written in C"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue