From 629bc1787994b2d817a4ccc1c447250ee62d39a2 Mon Sep 17 00:00:00 2001 From: Jasper Chan Date: Sat, 18 Aug 2018 21:24:39 -0700 Subject: [PATCH] grv: update to 0.2.0. --- ...Prevent-overflow-of-unsigned-options-in-git2.patch | 11 +++++++++++ srcpkgs/grv/template | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/grv/patches/Prevent-overflow-of-unsigned-options-in-git2.patch diff --git a/srcpkgs/grv/patches/Prevent-overflow-of-unsigned-options-in-git2.patch b/srcpkgs/grv/patches/Prevent-overflow-of-unsigned-options-in-git2.patch new file mode 100644 index 00000000000..6fcbd556104 --- /dev/null +++ b/srcpkgs/grv/patches/Prevent-overflow-of-unsigned-options-in-git2.patch @@ -0,0 +1,11 @@ +--- cmd/grv/vendor/gopkg.in/libgit2/git2go.v27/diff.go 2018-07-14 03:13:29.682424699 -0700 ++++ cmd/grv/vendor/gopkg.in/libgit2/git2go.v27/diff.go 2018-07-14 03:13:24.210458876 -0700 +@@ -405,7 +405,7 @@ + return newPatchFromC(patchPtr), nil + } + +-type DiffOptionsFlag int ++type DiffOptionsFlag uint + + const ( + DiffNormal DiffOptionsFlag = C.GIT_DIFF_NORMAL diff --git a/srcpkgs/grv/template b/srcpkgs/grv/template index 3f9ca4c649a..de44122eb71 100644 --- a/srcpkgs/grv/template +++ b/srcpkgs/grv/template @@ -1,7 +1,7 @@ # Template file for 'grv' pkgname=grv -version=0.1.3 -revision=3 +version=0.2.0 +revision=1 wrksrc=${pkgname} build_style=go go_import_path="github.com/rgburke/grv" @@ -13,7 +13,7 @@ maintainer="Michael Gehring " license="GPL-3" homepage="https://github.com/rgburke/grv" distfiles="https://github.com/rgburke/grv/releases/download/v${version}/grv-${version}-src.tar.gz" -checksum=61c73aff8e73fe86ee5a1b7a37e8506afa87fda3f81edacadfc6b9aeebc22314 +checksum=4988bb0a74853ada3808d7c819bd159b2acee741baa1565e97033cd3118224b7 post_install() { vdoc doc/documentation.md