git: 36f2c088f30f - main - devel/got: update to 0.90

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 15:22:07 UTC
The branch main has been updated by naddy:

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

commit 36f2c088f30f0a6635984ed813c7c508a6705218
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2023-06-24 15:21:18 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2023-06-24 15:21:18 +0000

    devel/got: update to 0.90
    
    User-visible changes:
    - make 'got add *' more forgiving about versioned paths on the command line
    - make 'got merge' forward branches if there are no changes to merge
    - teach 'gotadmin cleanup' to remove redundant pack files
---
 devel/got/Makefile                            |  2 +-
 devel/got/distinfo                            |  6 +++---
 devel/got/files/patch-lib_repository__admin.c | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/devel/got/Makefile b/devel/got/Makefile
index ad0293018e1a..8eb25dc6825f 100644
--- a/devel/got/Makefile
+++ b/devel/got/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	got
-DISTVERSION=	0.89
+DISTVERSION=	0.90
 CATEGORIES=	devel
 MASTER_SITES=	https://gameoftrees.org/releases/
 
diff --git a/devel/got/distinfo b/devel/got/distinfo
index 322050f10397..29e9377887d1 100644
--- a/devel/got/distinfo
+++ b/devel/got/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685997981
-SHA256 (got-0.89.tar.gz) = c0d2c7af86754dba2cdab3d3e8b917bd8abb2a0b3d74058cc092772ff11d1d5c
-SIZE (got-0.89.tar.gz) = 825004
+TIMESTAMP = 1687559108
+SHA256 (got-0.90.tar.gz) = 35ae134f37848ecfb1ced0e18d0bcfbaada056e3e603dcaa8333b08ffbc7eb1f
+SIZE (got-0.90.tar.gz) = 830029
diff --git a/devel/got/files/patch-lib_repository__admin.c b/devel/got/files/patch-lib_repository__admin.c
new file mode 100644
index 000000000000..a7be54c5f512
--- /dev/null
+++ b/devel/got/files/patch-lib_repository__admin.c
@@ -0,0 +1,11 @@
+--- lib/repository_admin.c.orig	2023-06-24 15:03:03 UTC
++++ lib/repository_admin.c
+@@ -620,7 +620,7 @@ got_repo_cleanup_prepare(struct got_repository *repo,
+     struct got_lockfile **lk)
+ {
+ 	const struct got_error *err;
+-	char myname[HOST_NAME_MAX + 1];
++	char myname[_POSIX_HOST_NAME_MAX + 1];
+ 
+ 	if (gethostname(myname, sizeof(myname)) == -1)
+ 		return got_error_from_errno("gethostname");