Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2019 13:08:34 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510690 - head/devel/py-pycapsicum/files
Message-ID:  <201909011308.x81D8YsW083288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909011308.x81D8YsW083288>