git: c85f76fcf7a4 - main - devel/py-pycapsicum: unbreak build after 620968a43a5f

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 04 Oct 2021 21:41:54 UTC
The branch main has been updated by jbeich:

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

commit c85f76fcf7a48834ad29bcdd3c6508636ec4eedf
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-10-04 21:40:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-10-04 21:40:28 +0000

    devel/py-pycapsicum: unbreak build after 620968a43a5f
    
    Restore the patch accidentally removed due to confusing comment.
    
    _pycapsicum.c:36:10: fatal error: 'sys/capability.h' file not found
     #include "sys/capability.h"
              ^~~~~~~~~~~~~~~~~~
    
    Reported by:    pkg-fallout
---
 devel/py-pycapsicum/Makefile | 3 +++
 devel/py-pycapsicum/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/devel/py-pycapsicum/Makefile b/devel/py-pycapsicum/Makefile
index 929a3dae615d..548af7a2e721 100644
--- a/devel/py-pycapsicum/Makefile
+++ b/devel/py-pycapsicum/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	devel security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/stillson/pycapsicum2/commit/
+PATCHFILES+=	5e9854f13448.patch:-p1 # https://github.com/stillson/pycapsicum2/pull/3
+
 MAINTAINER=	stillson@gmail.com
 COMMENT=	Python interface to capsicum security
 
diff --git a/devel/py-pycapsicum/distinfo b/devel/py-pycapsicum/distinfo
index c583f91eeabf..da7133e17f14 100644
--- a/devel/py-pycapsicum/distinfo
+++ b/devel/py-pycapsicum/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1479000975
 SHA256 (pycapsicum-1.0.tar.gz) = 413054a2e58a86c6959ddb9e23e99332c240638a552218de0ff8161099d45908
 SIZE (pycapsicum-1.0.tar.gz) = 8177
+SHA256 (5e9854f13448.patch) = 824ff550eb4eb0dbc06ab7c4c43212ec015622bcff037fe756b1c9d4f6192497
+SIZE (5e9854f13448.patch) = 920