aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mohawk/files/patch-parse.y18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/mohawk/files/patch-parse.y b/www/mohawk/files/patch-parse.y
new file mode 100644
index 000000000000..8c2e5624f676
--- /dev/null
+++ b/www/mohawk/files/patch-parse.y
@@ -0,0 +1,18 @@
+--- parse.y.orig 2017-01-27 06:01:59 UTC
++++ parse.y
+@@ -30,8 +30,14 @@
+ #include <sys/param.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 1000510
++#if defined(__FreeBSD__)
++#if __FreeBSD_version >= 1000510
++# if __FreeBSD_version >= 1200000
++#include <sys/capsicum.h>
++# else
+ #include <sys/capability.h>
++# endif
++#endif
+ #endif
+
+ #include <net/if.h>