stagit: rebuild against libgit2.so.28

[ci skip]
This commit is contained in:
maxice8 2019-02-11 22:12:54 -02:00
parent 2db36112ab
commit 13e004c091
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 28 additions and 1 deletions

View 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;
}

View file

@ -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"