stagit: rebuild against libgit2.so.28
[ci skip]
This commit is contained in:
parent
2db36112ab
commit
13e004c091
2 changed files with 28 additions and 1 deletions
27
srcpkgs/stagit/patches/libgit2-0.28.patch
Normal file
27
srcpkgs/stagit/patches/libgit2-0.28.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
diff --git a/stagit-index.c b/stagit-index.c
|
||||
index e019793..6b25969 100644
|
||||
--- stagit-index.c
|
||||
+++ stagit-index.c
|
||||
@@ -174,7 +174,7 @@ main(int argc, char *argv[])
|
||||
|
||||
if (git_repository_open_ext(&repo, repodir,
|
||||
GIT_REPOSITORY_OPEN_NO_SEARCH, NULL)) {
|
||||
- e = giterr_last();
|
||||
+ e = git_error_last();
|
||||
fprintf(stderr, "%s: %s\n", argv[0], e->message);
|
||||
ret = 1;
|
||||
continue;
|
||||
diff --git a/stagit.c b/stagit.c
|
||||
index 093cdab..25be042 100644
|
||||
--- stagit.c
|
||||
+++ stagit.c
|
||||
@@ -1101,7 +1101,7 @@ main(int argc, char *argv[])
|
||||
|
||||
if (git_repository_open_ext(&repo, repodir,
|
||||
GIT_REPOSITORY_OPEN_NO_SEARCH, NULL) < 0) {
|
||||
- e = giterr_last();
|
||||
+ e = git_error_last();
|
||||
fprintf(stderr, "%s: %s\n", argv[0], e->message);
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'stagit'
|
||||
pkgname=stagit
|
||||
version=0.9
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_install_args="MANPREFIX=/usr/share/man"
|
||||
makedepends="libgit2-devel"
|
||||
|
|
Loading…
Reference in a new issue