git: a47049ccd479 - main - deskutils/gnome-photos: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 10:07:54 UTC
The branch main has been updated by jbeich:

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

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

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

diff --git a/deskutils/gnome-photos/Makefile b/deskutils/gnome-photos/Makefile
index d8eef258a6d3..ad7f39f95ebd 100644
--- a/deskutils/gnome-photos/Makefile
+++ b/deskutils/gnome-photos/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	deskutils gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	a0ac868a19d5.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/226
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Photo application for GNOME
 
diff --git a/deskutils/gnome-photos/distinfo b/deskutils/gnome-photos/distinfo
index aa9cc60fbc68..bb45305c28a0 100644
--- a/deskutils/gnome-photos/distinfo
+++ b/deskutils/gnome-photos/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1629038916
 SHA256 (gnome/gnome-photos-40.0.tar.xz) = e02d73e138af8b2868b5cad7faa1bdd278aeade3b6c3c92836511a4e6f3af1af
 SIZE (gnome/gnome-photos-40.0.tar.xz) = 632440
+SHA256 (gnome/a0ac868a19d5.patch) = 7a8a242b7e3fa9aad75a94ad244acf734342528c5acf6bce779b9c08b0394c31
+SIZE (gnome/a0ac868a19d5.patch) = 724