void-packages/srcpkgs/grv/patches/Prevent-overflow-of-unsigned-options-in-git2.patch
2018-08-18 21:24:39 -07:00

11 lines
378 B
Diff

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