git: d14927078dce - main - games/gnome-mahjongg: unbreak build with Meson 0.61.0

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

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

commit d14927078dcec347a4d2625dabdeb38b86d55dc6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-24 11:27:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-24 12:35:05 +0000

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

diff --git a/games/gnome-mahjongg/Makefile b/games/gnome-mahjongg/Makefile
index d6673555dcd9..ae8a42f353e4 100644
--- a/games/gnome-mahjongg/Makefile
+++ b/games/gnome-mahjongg/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	games gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome3
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	7604f8c8311f.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/merge_requests/26
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Gnome mahjongg
 
diff --git a/games/gnome-mahjongg/distinfo b/games/gnome-mahjongg/distinfo
index 52a95456a9e3..1782318b0c62 100644
--- a/games/gnome-mahjongg/distinfo
+++ b/games/gnome-mahjongg/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1626545621
 SHA256 (gnome3/gnome-mahjongg-3.38.3.tar.xz) = d2b1e47d85852048b35d89e3ddaba1daeb06aaf97acfb67a501ce664ff509190
 SIZE (gnome3/gnome-mahjongg-3.38.3.tar.xz) = 3061860
+SHA256 (gnome3/7604f8c8311f.patch) = d5a840c1def4e862a615bfbac6cce43d0cd2534c94189d34ee56777d7c4915e4
+SIZE (gnome3/7604f8c8311f.patch) = 1307