From 81b13bd22c9c90c9d643f7edd19ee7c3c1d16af7 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Thu, 3 Oct 2019 16:28:58 +0200 Subject: [PATCH] stagit: update to 0.9.2. --- srcpkgs/stagit/patches/libgit2-0.28.patch | 27 ----------------------- srcpkgs/stagit/template | 10 ++++----- 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/stagit/patches/libgit2-0.28.patch diff --git a/srcpkgs/stagit/patches/libgit2-0.28.patch b/srcpkgs/stagit/patches/libgit2-0.28.patch deleted file mode 100644 index 84481bce0de..00000000000 --- a/srcpkgs/stagit/patches/libgit2-0.28.patch +++ /dev/null @@ -1,27 +0,0 @@ -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 eab367ae840..c087227f26c 100644 --- a/srcpkgs/stagit/template +++ b/srcpkgs/stagit/template @@ -1,16 +1,16 @@ # Template file for 'stagit' pkgname=stagit -version=0.9 -revision=2 +version=0.9.2 +revision=1 build_style=gnu-makefile make_install_args="MANPREFIX=/usr/share/man" makedepends="libgit2-devel" short_desc="Static git page generator" maintainer="Steve Prybylski " license="MIT" -homepage="http://git.2f30.org/stagit" -distfiles="http://dl.2f30.org/releases/${pkgname}-${version}.tar.gz" -checksum=09e585c5908bee0208c9b2d457a716d2679d89ca7485da42ca8a06bd78bc2293 +homepage="https://codemadness.org/git/stagit/log.html" +distfiles="https://codemadness.org/releases/stagit/${pkgname}-${version}.tar.gz" +checksum=721cd7cfac479008e803eff5afd0c95ff9dbc640450afa5b844be82d8dfe0cba LDFLAGS="-lgit2" post_install() {