git: df08fc5253ae - main - www/gitlab-ce: include patch to fix database migration problem

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Tue, 28 Nov 2023 10:53:01 UTC
The branch main has been updated by mfechner:

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

commit df08fc5253aeb1923456da90248f0a587aaf1951
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-11-28 07:45:04 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-11-28 10:52:35 +0000

    www/gitlab-ce: include patch to fix database migration problem
    
    This fixes a bug described here:
    https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8315
    
    Patch is from here:
    https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138018
---
 www/gitlab-ce/Makefile | 5 +++++
 www/gitlab-ce/distinfo | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/www/gitlab-ce/Makefile b/www/gitlab-ce/Makefile
index 44772c6c15bd..3b3da9e24b62 100644
--- a/www/gitlab-ce/Makefile
+++ b/www/gitlab-ce/Makefile
@@ -3,6 +3,11 @@ PORTVERSION=	16.6.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www devel
 
+# include patch to fix database migration
+https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138018.patch
+PATCH_SITES=	https://gitlab.com/gitlab-org/gitlab/-/merge_requests/
+PATCHFILES+=	138018.patch:-p1 # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138018
+
 MAINTAINER=	mfechner@FreeBSD.org
 COMMENT=	Web GUI for managing git repositories
 WWW=		https://gitlab.com/
diff --git a/www/gitlab-ce/distinfo b/www/gitlab-ce/distinfo
index 229972432be8..f4a1638b3d4c 100644
--- a/www/gitlab-ce/distinfo
+++ b/www/gitlab-ce/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1700424479
+TIMESTAMP = 1701157406
 SHA256 (gitlab-foss-v16.6.0.tar.bz2) = c3c7acc923aebdb002a8473ef382d2405f2f59beada4e2b5d283699ea852c7ef
 SIZE (gitlab-foss-v16.6.0.tar.bz2) = 100385518
+SHA256 (138018.patch) = 9bebe87bca326ac2464a0ed5e833437074df031b3631a38f42986bd18fca5aea
+SIZE (138018.patch) = 5340