git: b5ecb27e73d9 - main - editors/gedit: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 09:36:55 UTC
The branch main has been updated by jbeich:

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

commit b5ecb27e73d9058b7c33b4def545791b4c6311c9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-23 09:34:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-23 09:36:37 +0000

    editors/gedit: unbreak build with Meson 0.61.0
    
    data/meson.build:6:0: ERROR: Function does not take positional arguments.
    
    PR:             260943
    Reported by:    antoine (via exp-run)
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 editors/gedit/Makefile | 3 +++
 editors/gedit/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile
index d6e2371289fe..cf400827bae7 100644
--- a/editors/gedit/Makefile
+++ b/editors/gedit/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	editors gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	c6c7c6580bc7.patch:-p1 # https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/124
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Small but powerful text editor for GNOME 3 Desktop Environment
 
diff --git a/editors/gedit/distinfo b/editors/gedit/distinfo
index e39bb84adc29..2adf52352c59 100644
--- a/editors/gedit/distinfo
+++ b/editors/gedit/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1622048054
 SHA256 (gnome/gedit-40.1.tar.xz) = 55e394a82cb65678b1ab49526cf5bd43f00d8fba21476a4849051a8e137d3691
 SIZE (gnome/gedit-40.1.tar.xz) = 6850264
+SHA256 (gnome/c6c7c6580bc7.patch) = 4ecfe56b4c2f784b7d3a3291a48596981eb10db43e64a2eb478c86b8a4ab4818
+SIZE (gnome/c6c7c6580bc7.patch) = 958