diff --git a/srcpkgs/stagit/patches/libgit2-0.28.patch b/srcpkgs/stagit/patches/libgit2-0.28.patch new file mode 100644 index 00000000000..84481bce0de --- /dev/null +++ b/srcpkgs/stagit/patches/libgit2-0.28.patch @@ -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; + } + diff --git a/srcpkgs/stagit/template b/srcpkgs/stagit/template index 6b2d45bc5c7..eab367ae840 100644 --- a/srcpkgs/stagit/template +++ b/srcpkgs/stagit/template @@ -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"