git: e7ce986272f5 - main - graphics/zathura: unbreak build with Meson 0.61.0

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

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

commit e7ce986272f56a553ea2638d35ef683684d94c27
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-23 08:51:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-23 09:26:14 +0000

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

diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 4c5299f89ac7..192003978f4b 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -5,6 +5,9 @@ DISTVERSION=	0.4.5
 CATEGORIES=	graphics print
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
+PATCH_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/commit/
+PATCHFILES+=	c6ec5044c5ff.patch:-p1 # meson 0.61
+
 MAINTAINER=	quentin.stievenart@gmail.com
 COMMENT=	Customizable lightweight pdf viewer
 
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index b4c8298f4ea3..ecd9eebe5461 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1583082376
 SHA256 (zathura-0.4.5.tar.gz) = 317882fc4e05104591c011c237b2ba6bf0b3978c189f5cdf3c978cb333ee04fe
 SIZE (zathura-0.4.5.tar.gz) = 195275
+SHA256 (c6ec5044c5ff.patch) = 27355d33be2308e7727e162f79516abdc17b6f184c123a77ba0cfe2bae46a68d
+SIZE (c6ec5044c5ff.patch) = 939