git: 2c30f0762832 - main - x11/gnome-session: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 01:48:28 UTC
The branch main has been updated by jbeich:

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

commit 2c30f07628323ae23c0c5bca012591360290b618
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-04 23:30:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-07 01:48:19 +0000

    x11/gnome-session: unbreak build with Meson 0.61.0
    
    data/meson.build:60:2: ERROR: Function does not take positional arguments.
    data/meson.build:91:2: ERROR: Function does not take positional arguments.
    
    PR:             260943
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 x11/gnome-session/Makefile | 3 +++
 x11/gnome-session/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile
index 2a937f5b8190..56675ac3bfeb 100644
--- a/x11/gnome-session/Makefile
+++ b/x11/gnome-session/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+=	1abd59271455.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/80
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Session component for the GNOME 3 desktop
 
diff --git a/x11/gnome-session/distinfo b/x11/gnome-session/distinfo
index f3aa1fdc0618..c6e0fbec202e 100644
--- a/x11/gnome-session/distinfo
+++ b/x11/gnome-session/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1632800556
 SHA256 (gnome/gnome-session-40.1.1.tar.xz) = 9c787829ee32e13e1508b9aee2b1d9ba42a02c48e6c8094e34f3e7f92af4df82
 SIZE (gnome/gnome-session-40.1.1.tar.xz) = 482304
+SHA256 (gnome/1abd59271455.patch) = 5ac21646e26ef56033acc48da680bc74db93bddf64a5f69675338e3cdc37fb6a
+SIZE (gnome/1abd59271455.patch) = 974