git: 6962c17e779d - main - graphics/evince: unbreak build with Meson 0.61.0

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

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

commit 6962c17e779d356b6996781a3c159f7dadab91ea
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-23 10:16:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-23 10:24:09 +0000

    graphics/evince: unbreak build with Meson 0.61.0
    
    backend/meson.build:55:7: ERROR: Function does not take positional arguments.
    
    PR:             260943
    Reported by:    antoine (via exp-run)
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 graphics/evince/Makefile | 3 +++
 graphics/evince/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 1184788a77a3..2c90ce6e550a 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -7,6 +7,9 @@ CATEGORIES=	graphics print gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	1060b24d0516.patch:-p1 # https://gitlab.gnome.org/GNOME/evince/-/merge_requests/398
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME 3 multi-format document viewer
 
diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo
index dec0113bac31..fb81a58e8bf3 100644
--- a/graphics/evince/distinfo
+++ b/graphics/evince/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1637606911
 SHA256 (gnome/evince-41.3.tar.xz) = 3346b01f9bdc8f2d5ffea92f110a090c64a3624942b5b543aad4592a9de33bb0
 SIZE (gnome/evince-41.3.tar.xz) = 2889368
+SHA256 (gnome/1060b24d0516.patch) = 25e5df47c3e0f190244b55018d31f1adadc86c0c241b21e06199d656e36e778a
+SIZE (gnome/1060b24d0516.patch) = 1336