svn commit: r528897 - head/devel/py-pycapsicum/files

Tobias Kortkamp tobik at FreeBSD.org
Sun Mar 22 05:55:05 UTC 2020


Author: tobik
Date: Sun Mar 22 05:47:50 2020
New Revision: 528897
URL: https://svnweb.freebsd.org/changeset/ports/528897

Log:
  devel/py-pycapsicum: Unbreak on CURRENT
  
  _pycapsicum.c:36:10: fatal error: 'sys/capability.h' file not found
  #include "sys/capability.h"
           ^~~~~~~~~~~~~~~~~~
  1 error generated.

Added:
  head/devel/py-pycapsicum/files/
  head/devel/py-pycapsicum/files/patch-__pycapsicum.c   (contents, props changed)

Added: head/devel/py-pycapsicum/files/patch-__pycapsicum.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pycapsicum/files/patch-__pycapsicum.c	Sun Mar 22 05:47:50 2020	(r528897)
@@ -0,0 +1,16 @@
+https://github.com/stillson/pycapsicum2/pull/3
+
+--- _pycapsicum.c.orig	2020-03-22 05:41:16 UTC
++++ _pycapsicum.c
+@@ -32,11 +32,7 @@
+ #include <fcntl.h>
+ 
+ #include "Python.h"
+-#if OSVERSION < 1020000
+-#include "sys/capability.h"
+-#else
+ #include "sys/capsicum.h"
+-#endif
+ #include "sys/caprights.h"
+ #include "structmember.h"
+ 


More information about the svn-ports-all mailing list