git: e8da92d64012 - main - devel/gtranslator: unbreak build with Meson 0.61.0

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

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

commit e8da92d64012af2c927a7f68db5174c8a96bd164
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-24 11:59:24 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-24 12:35:07 +0000

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

diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
index ad50c8062f0b..21519432020d 100644
--- a/devel/gtranslator/Makefile
+++ b/devel/gtranslator/Makefile
@@ -5,6 +5,9 @@ PORTVERSION=	40.0
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	7ac572cc8c8c.patch:-p1 # https://gitlab.gnome.org/GNOME/gtranslator/-/merge_requests/90
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME application for creating GNU gettext translation files
 
diff --git a/devel/gtranslator/distinfo b/devel/gtranslator/distinfo
index 7a66cf5cdc5e..3d1917d4c01d 100644
--- a/devel/gtranslator/distinfo
+++ b/devel/gtranslator/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1629040334
 SHA256 (gtranslator-40.0.tar.xz) = ec3eba36dee1c549377d1475aef71748dbaebd295005e1990ea9821f02b38834
 SIZE (gtranslator-40.0.tar.xz) = 1509940
+SHA256 (7ac572cc8c8c.patch) = e352eade8929b5efdfca8d9a77582832af860dd9e9306b963818df9fece8fef3
+SIZE (7ac572cc8c8c.patch) = 953