slcp: update to 0.2.
This commit is contained in:
parent
11bd49111e
commit
1845d631ba
2 changed files with 22 additions and 1 deletions
21
srcpkgs/slcp/patches/libgit-initializion.patch
Normal file
21
srcpkgs/slcp/patches/libgit-initializion.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
From 543101999ad0544e4a427afb5fbf993a55f820e1 Mon Sep 17 00:00:00 2001
|
||||
From: Duncaen <mail@duncano.de>
|
||||
Date: Tue, 28 Jul 2015 22:30:22 +0200
|
||||
Subject: [PATCH] fix libgit initialization
|
||||
|
||||
---
|
||||
slcp.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/slcp.c b/slcp.c
|
||||
index 2e9f9f4..7f12b08 100644
|
||||
--- a/slcp.c
|
||||
+++ b/slcp.c
|
||||
@@ -100,6 +100,7 @@ int main(int argc, char* argv[])
|
||||
if(argc > 1) termwidth = atoi(argv[1]);
|
||||
|
||||
/* init git repo */
|
||||
+ git_libgit2_init();
|
||||
if(!git_repository_discover(&tmpgitdb, ".", 0, NULL)
|
||||
&& git_repository_open(&git_repo, tmpgitdb.ptr))
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'slcp'
|
||||
pkgname=slcp
|
||||
version=0.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_pie=yes
|
||||
build_style=gnu-makefile
|
||||
makedepends="libgit2-devel"
|
||||
|
|
Loading…
Reference in a new issue