svn commit: r510690 - head/devel/py-pycapsicum/files
Mark Linimon
linimon at FreeBSD.org
Sun Sep 1 13:08:34 UTC 2019
Author: linimon
Date: Sun Sep 1 13:08:34 2019
New Revision: 510690
URL: https://svnweb.freebsd.org/changeset/ports/510690
Log:
Fix build: capability.h has been renamed to capsicum.h on all supported
OSVERSIONs. For some reason the OSVERSION check was not working but
since it is OBE there is no reason to debug that.
See https://svnweb.freebsd.org/base?view=revision&revision=263232 .
This change needs to be submitted upstream.
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 Sep 1 13:08:34 2019 (r510690)
@@ -0,0 +1,14 @@
+--- _pycapsicum.c.orig 2019-09-01 13:05:23 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