mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
80ceb9cbe8
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
15 lines
339 B
C
15 lines
339 B
C
--- 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>
|