git: 2b2d5dc181a8 - main - deskutils/gnome-calendar: unbreak build with Meson 0.61.0

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

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

commit 2b2d5dc181a8d186fcae3a0ff6e118054ab59e57
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-23 11:02:33 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-23 11:03:00 +0000

    deskutils/gnome-calendar: unbreak build with Meson 0.61.0
    
    data/appdata/meson.build:3: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
---
 deskutils/gnome-calendar/Makefile | 3 +++
 deskutils/gnome-calendar/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/deskutils/gnome-calendar/Makefile b/deskutils/gnome-calendar/Makefile
index 0fa164025ad7..540063891ab2 100644
--- a/deskutils/gnome-calendar/Makefile
+++ b/deskutils/gnome-calendar/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	deskutils gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	e35dbc1acd03.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/198
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Simple and beautiful calendar application for GNOME
 
diff --git a/deskutils/gnome-calendar/distinfo b/deskutils/gnome-calendar/distinfo
index d89c9a87e72c..1ef79ca30182 100644
--- a/deskutils/gnome-calendar/distinfo
+++ b/deskutils/gnome-calendar/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1640291825
 SHA256 (gnome/gnome-calendar-41.2.tar.xz) = 956b2f190322651c67fe667223896f8aa5acf33b70ada5a3b05a5361bda6611a
 SIZE (gnome/gnome-calendar-41.2.tar.xz) = 583584
+SHA256 (gnome/e35dbc1acd03.patch) = ded10dd0b1e9fce59414fd60a6ab42c560842745ef38774dc6d30f222293e71d
+SIZE (gnome/e35dbc1acd03.patch) = 773