mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
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
This commit is contained in:
parent
42040b1790
commit
80ceb9cbe8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433101
@ -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>
|
Loading…
Reference in New Issue
Block a user