mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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'
|
# Template file for 'slcp'
|
||||||
pkgname=slcp
|
pkgname=slcp
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=2
|
revision=3
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libgit2-devel"
|
makedepends="libgit2-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue