git: ce223b07266e - main - irc/polari: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 12:35:55 UTC
The branch main has been updated by jbeich:

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

commit ce223b07266e50d7893a271a9009d59f3a0657fc
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-24 12:34:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-24 12:35:08 +0000

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

diff --git a/irc/polari/Makefile b/irc/polari/Makefile
index 3455d3aeb9d0..0e093a3dde17 100644
--- a/irc/polari/Makefile
+++ b/irc/polari/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	irc gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	1ec40333a32d.patch:-p1 # https://gitlab.gnome.org/GNOME/gtranslator/-/merge_requests/90
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Internet Relay Chat (IRC) client designed for GNOME 3
 
diff --git a/irc/polari/distinfo b/irc/polari/distinfo
index bfc23c5ea890..c7a91e73faa7 100644
--- a/irc/polari/distinfo
+++ b/irc/polari/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1633284255
 SHA256 (gnome/polari-41.0.tar.xz) = a3b05f81660370c67c942b6f44b298c7b78816feb38c926ec2212bde22ea40eb
 SIZE (gnome/polari-41.0.tar.xz) = 1125016
+SHA256 (gnome/1ec40333a32d.patch) = 7b983f068ecedfa9452f8eb9998909addcec2ee9a35c7b012c9dadf56241d7d8
+SIZE (gnome/1ec40333a32d.patch) = 1331