diff options
| author | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-03-22 05:47:50 +0000 |
|---|---|---|
| committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2020-03-22 05:47:50 +0000 |
| commit | 4d911e6dbc16ef35372691bb82d642c86867b247 (patch) | |
| tree | 51244ce0224e5f49a0e30fb49a737b2a3bed1e3b | |
| parent | net-p2p/linuxdcpp: Disable bad compiler version check and unbreak with Clang 10 (diff) | |
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.
Notes
Notes:
svn path=/head/; revision=528897
| -rw-r--r-- | devel/py-pycapsicum/files/patch-__pycapsicum.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/py-pycapsicum/files/patch-__pycapsicum.c b/devel/py-pycapsicum/files/patch-__pycapsicum.c new file mode 100644 index 000000000000..c3afb603e956 --- /dev/null +++ b/devel/py-pycapsicum/files/patch-__pycapsicum.c @@ -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" + |
