git: ed9ddecf4f43 - main - textproc/fcitx5: unbreak WAYLAND runtime after 2af7805da5c5

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 19 Dec 2021 08:59:05 UTC
The branch main has been updated by jbeich:

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

commit ed9ddecf4f43176304b33bba2bed60c68a5c32cd
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-19 08:28:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-19 08:56:39 +0000

    textproc/fcitx5: unbreak WAYLAND runtime after 2af7805da5c5
    
    $ fcitx5
    [...]
    listener function for opcode 4 of wl_output is NULL
    [...]
---
 textproc/fcitx5/Makefile | 4 ++++
 textproc/fcitx5/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile
index 1a10e10b31c9..2eb3308e214c 100644
--- a/textproc/fcitx5/Makefile
+++ b/textproc/fcitx5/Makefile
@@ -2,12 +2,16 @@
 
 PORTNAME=	fcitx5
 DISTVERSION=	5.0.11
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	https://download.fcitx-im.org/data/:dict
 DISTFILES=	${SPELL_EN_DICT_TAR}:dict
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	0b46063c0e9f.patch:-p1 # wlroots 0.15
+
 MAINTAINER=	khng@FreeBSD.org
 COMMENT=	New implementation of the Fcitx IME framework
 
diff --git a/textproc/fcitx5/distinfo b/textproc/fcitx5/distinfo
index 4876fd5a0fc3..a8b59c9f4929 100644
--- a/textproc/fcitx5/distinfo
+++ b/textproc/fcitx5/distinfo
@@ -3,3 +3,5 @@ SHA256 (fcitx5/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9
 SIZE (fcitx5/en_dict-20121020.tar.gz) = 630491
 SHA256 (fcitx5/fcitx-fcitx5-5.0.11_GH0.tar.gz) = 14208907f9d43e2d06257d28edf825380acd7288e6d4275138781c8cbe4d395d
 SIZE (fcitx5/fcitx-fcitx5-5.0.11_GH0.tar.gz) = 1953703
+SHA256 (fcitx5/0b46063c0e9f.patch) = 51fb37b55923f84f32449109c03cbb9a7cd36552966e5efb41b4cb5290d16590
+SIZE (fcitx5/0b46063c0e9f.patch) = 1335