git: ba7f28b83e9f - main - x11/gnome-shell: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 02:47:51 UTC
The branch main has been updated by jbeich:

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

commit ba7f28b83e9f22c72a1e7c37ea29cfe1a53a30a8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-04 23:30:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-07 02:47:39 +0000

    x11/gnome-shell: unbreak build with Meson 0.61.0
    
    subprojects/extensions-tool/src/templates/meson.build:7:2: ERROR: Function does not take positional arguments.
    subprojects/extensions-app/data/meson.build:17:5: ERROR: Function does not take positional arguments.
    subprojects/extensions-app/data/metainfo/meson.build:2:5: ERROR: Function does not take positional arguments.
    [...]
    
    PR:             260943
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 x11/gnome-shell/Makefile | 3 +++
 x11/gnome-shell/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile
index 135da546aa2b..3a82e84bddd7 100644
--- a/x11/gnome-shell/Makefile
+++ b/x11/gnome-shell/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	x11 gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	65450a836ee9.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Next generation GNOME desktop shell
 
diff --git a/x11/gnome-shell/distinfo b/x11/gnome-shell/distinfo
index 9af6ad7100ba..98d638c1296f 100644
--- a/x11/gnome-shell/distinfo
+++ b/x11/gnome-shell/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1636137212
 SHA256 (gnome/gnome-shell-41.1.tar.xz) = 5f742456dfe00605c0f090a3728ca62797bc49e50af852bbd7285da1a0517ff6
 SIZE (gnome/gnome-shell-41.1.tar.xz) = 1897144
+SHA256 (gnome/65450a836ee9.patch) = 9ccd84e3996568cdfd76d23e00954665898848da84b91f1936d5aee723b18ead
+SIZE (gnome/65450a836ee9.patch) = 3112