git: bcc66ab362fb - main - devel/go-git: Unbreak i386

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 03 Dec 2022 14:50:22 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bcc66ab362fb210c7a732f85dc75ad8db6e00869

commit bcc66ab362fb210c7a732f85dc75ad8db6e00869
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-12-03 14:47:06 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-12-03 14:49:55 +0000

    devel/go-git: Unbreak i386
    
    Update pjbgf/sha1cd (0.2.3): Expand multi-arch support by fixing type cast.
---
 devel/go-git/Makefile | 8 +++++---
 devel/go-git/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/go-git/Makefile b/devel/go-git/Makefile
index 1a662860ac83..df720a59d752 100644
--- a/devel/go-git/Makefile
+++ b/devel/go-git/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	go-git
 DISTVERSIONPREFIX=	v
 DISTVERSION=	5.5.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -10,8 +11,9 @@ WWW=		https://github.com/go-git/go-git
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-NOT_FOR_ARCHS=	i386
-NOT_FOR_ARCHS_REASON=	pjbgf:sha1cd:v0.2.0 fails to build, issue https://github.com/pjbgf/sha1cd/issues/6
+#NOT_FOR_ARCHS=	i386
+#NOT_FOR_ARCHS_REASON=	pjbgf:sha1cd:v0.2.0 fails to build, issue https://github.com/pjbgf/sha1cd/issues/6
+# Fixed in 0.2.3 version, remove comments when upstream uses it
 
 USES=		go:modules
 #GO_MODULE=	github.com/go-git/go-git/v5 # Fails to build, see https://github.com/go-git/go-git/issues/626
@@ -40,7 +42,7 @@ GH_TUPLE=	Microsoft:go-winio:v0.5.2:microsoft_go_winio/vendor/github.com/Microso
 		kevinburke:ssh_config:v1.2.0:kevinburke_ssh_config/vendor/github.com/kevinburke/ssh_config \
 		kr:pretty:v0.2.1:kr_pretty/vendor/github.com/kr/pretty \
 		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
-		pjbgf:sha1cd:v0.2.0:pjbgf_sha1cd/vendor/github.com/pjbgf/sha1cd \
+		pjbgf:sha1cd:v0.2.3:pjbgf_sha1cd/vendor/github.com/pjbgf/sha1cd \
 		sergi:go-diff:v1.1.0:sergi_go_diff/vendor/github.com/sergi/go-diff \
 		skeema:knownhosts:v1.1.0:skeema_knownhosts/vendor/github.com/skeema/knownhosts \
 		xanzy:ssh-agent:v0.3.2:xanzy_ssh_agent/vendor/github.com/xanzy/ssh-agent
diff --git a/devel/go-git/distinfo b/devel/go-git/distinfo
index 505097844189..5fa2caa00eee 100644
--- a/devel/go-git/distinfo
+++ b/devel/go-git/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1670009221
+TIMESTAMP = 1670078048
 SHA256 (go-git-go-git-v5.5.0_GH0.tar.gz) = bced346146d530857f79005847236ee8cfab55f56374e7f048c718fbb5977df9
 SIZE (go-git-go-git-v5.5.0_GH0.tar.gz) = 475844
 SHA256 (Microsoft-go-winio-v0.5.2_GH0.tar.gz) = d56abf127ac26d287b522ddde3d2a94efbbfeec6c8936f1f3179d038b4062be6
@@ -49,8 +49,8 @@ SHA256 (kr-pretty-v0.2.1_GH0.tar.gz) = 01db9d66df2482ad7ade0cf1e194c2d703de4c2ed
 SIZE (kr-pretty-v0.2.1_GH0.tar.gz) = 8761
 SHA256 (kr-text-v0.2.0_GH0.tar.gz) = 59b5e4a7fd4097be87fad0edcaf342fdc971d0c8fdfb4f2d7424561471992e7c
 SIZE (kr-text-v0.2.0_GH0.tar.gz) = 8699
-SHA256 (pjbgf-sha1cd-v0.2.0_GH0.tar.gz) = 6284ab8235b478dc56b9c43b76ed1d41f19a413364e024179fbf02e26cf2d414
-SIZE (pjbgf-sha1cd-v0.2.0_GH0.tar.gz) = 3659831
+SHA256 (pjbgf-sha1cd-v0.2.3_GH0.tar.gz) = bb1ecceb01a9ea7fa949096164c21786997fd97eee50e40c677158218d6612d8
+SIZE (pjbgf-sha1cd-v0.2.3_GH0.tar.gz) = 3661451
 SHA256 (sergi-go-diff-v1.1.0_GH0.tar.gz) = 3d4362670655e970366d555418f3c8d179c217c0499ef5573ab7176352229451
 SIZE (sergi-go-diff-v1.1.0_GH0.tar.gz) = 43552
 SHA256 (skeema-knownhosts-v1.1.0_GH0.tar.gz) = 6583a034554ab85bfa392026aac79b2bf26b38d9d47ba7dd556888c74939f336