Date: Sun, 22 Mar 2020 05:47:51 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528897 - head/devel/py-pycapsicum/files Message-ID: <202003220547.02M5lp8g024503@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003220547.02M5lp8g024503>