git: ab22566cfdf3 - main - irc/irssi: Backport buildfix for Capsicum in -CURRENT

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 20 Aug 2022 07:32:26 UTC
The branch main has been updated by diizzy:

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

commit ab22566cfdf3becc9a5569e519a3ecab1449a755
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-08-20 07:19:45 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-08-20 07:32:11 +0000

    irc/irssi: Backport buildfix for Capsicum in -CURRENT
    
    After base 000321bab7be and base e4c36b7aa952 with CAPSICUM enabled
    build fails to find nvlist_create() .
    Backport upstream commit 7baefc3315e9dc11c8a3a787a3b6c6888c2b590a to
    fix this issue
    
    PR:             265397
    Reported by:    vishwin
    Reviewed by:    David O'Rourke <dor.bsd@xm0.uk> (maintainer)
    Tested by:      kp
---
 irc/irssi/Makefile | 3 +++
 irc/irssi/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index d0e3f497ee8e..14519f884394 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -4,6 +4,9 @@ PORTEPOCH=	2
 CATEGORIES?=	irc
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
 
+PATCH_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/commit/
+PATCHFILES=	7baefc3315e9dc11c8a3a787a3b6c6888c2b590a.patch:-p1
+
 MAINTAINER=	dor.bsd@xm0.uk
 COMMENT=	Modular IRC client with many features
 
diff --git a/irc/irssi/distinfo b/irc/irssi/distinfo
index ac8a34157659..647a486db522 100644
--- a/irc/irssi/distinfo
+++ b/irc/irssi/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1658075150
+TIMESTAMP = 1660937400
 SHA256 (irssi-1.4.2.tar.xz) = 79a4765d2dfe153c440a1775b074d5d0682b96814c7cf92325b5e15ce50e26a8
 SIZE (irssi-1.4.2.tar.xz) = 1211740
+SHA256 (7baefc3315e9dc11c8a3a787a3b6c6888c2b590a.patch) = 8da12b548c48cebeb29273970a4c6ca59d0bb28a96fad6423ed0a7b80b52d0a7
+SIZE (7baefc3315e9dc11c8a3a787a3b6c6888c2b590a.patch) = 1116