aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 20:22:43 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 20:22:43 +0000
commit80ceb9cbe8318cd34d9c557ea484477e42241332 (patch)
treee5c1cfaee8bfdfdd21d60dae18219e5793de8420
parent42040b1790f0ec00a027bd7792c306c9d8533e96 (diff)
downloadports-80ceb9cbe8318cd34d9c557ea484477e42241332.tar.gz
ports-80ceb9cbe8318cd34d9c557ea484477e42241332.zip
multimedia/linux_dvbwrapper-kmod: unbreak on 12.0 after r312758
In file included from linux_dvbwrapper.c:43: /usr/src/sys/sys/capability.h:41:2: error: this file includes <sys/capability.h> which is deprecated [-Werror,-W#warnings] #warning this file includes <sys/capability.h> which is deprecated ^ Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=433101
-rw-r--r--multimedia/linux_dvbwrapper-kmod/files/patch-linux__dvbwrapper.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/linux_dvbwrapper-kmod/files/patch-linux__dvbwrapper.c b/multimedia/linux_dvbwrapper-kmod/files/patch-linux__dvbwrapper.c
new file mode 100644
index 000000000000..fa16b8afa9f6
--- /dev/null
+++ b/multimedia/linux_dvbwrapper-kmod/files/patch-linux__dvbwrapper.c
@@ -0,0 +1,14 @@
+--- linux_dvbwrapper.c.orig 2017-02-01 19:40:17 UTC
++++ linux_dvbwrapper.c
+@@ -38,10 +38,7 @@ __FBSDID("$FreeBSD$");
+ #include <sys/sysproto.h>
+ #include <sys/mman.h>
+ #include <sys/resourcevar.h>
+-
+-#if __FreeBSD_version > 900040
+-#include <sys/capability.h>
+-#endif
++#include <sys/capsicum.h>
+
+ #include <vm/vm.h>
+ #include <vm/pmap.h>