git: 9f9784686493 - main - deskutils/gnome-font-viewer: unbreak build with Meson 0.61.0

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

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

commit 9f978468649374c4a0c1939045f58ef31896db21
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-23 10:10:14 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-23 10:11:03 +0000

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

diff --git a/deskutils/gnome-font-viewer/Makefile b/deskutils/gnome-font-viewer/Makefile
index 9a871178ad24..5251e2617797 100644
--- a/deskutils/gnome-font-viewer/Makefile
+++ b/deskutils/gnome-font-viewer/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+=	218166246e29.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/27
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME 3 font viewer utility
 
diff --git a/deskutils/gnome-font-viewer/distinfo b/deskutils/gnome-font-viewer/distinfo
index a666e17c15ac..110e765b6771 100644
--- a/deskutils/gnome-font-viewer/distinfo
+++ b/deskutils/gnome-font-viewer/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1632341672
 SHA256 (gnome/gnome-font-viewer-41.0.tar.xz) = 5dd410331be070e4e034397f2754980e073851d50a2119f2fbf96adc6fe2e876
 SIZE (gnome/gnome-font-viewer-41.0.tar.xz) = 179672
+SHA256 (gnome/218166246e29.patch) = 3d60253beebf7bd6faa46b04e4059cd7c860e6146fb6c0e608ea06b8bb86546c
+SIZE (gnome/218166246e29.patch) = 1333