summaryrefslogtreecommitdiffstats
path: root/main/ipfw/no-sysctl.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2014-02-17 04:59:11 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2014-02-17 04:59:47 +0000
commitd7ad83c5a4acb9916e03b6deb79f364e83108fff (patch)
treefad9eef692fa97dfca2e70656f960f68810ba98b /main/ipfw/no-sysctl.patch
parente5384ed6d877f7de674cb3ee6db8972585a8e5cf (diff)
downloadaports-d7ad83c5a4acb9916e03b6deb79f364e83108fff.tar.bz2
aports-d7ad83c5a4acb9916e03b6deb79f364e83108fff.tar.xz
main/ipfw: musl build fix
Diffstat (limited to 'main/ipfw/no-sysctl.patch')
-rw-r--r--main/ipfw/no-sysctl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/ipfw/no-sysctl.patch b/main/ipfw/no-sysctl.patch
new file mode 100644
index 000000000..100772829
--- /dev/null
+++ b/main/ipfw/no-sysctl.patch
@@ -0,0 +1,21 @@
+--- ipfw3-2012.orig/ipfw/dummynet.c
++++ ipfw3-2012/ipfw/dummynet.c
+@@ -17,8 +17,6 @@
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
+-/* XXX there are several sysctl leftover here */
+-#include <sys/sysctl.h>
+
+ #include "ipfw2.h"
+
+--- ipfw3-2012.orig/ipfw/ipfw2.c
++++ ipfw3-2012/ipfw/ipfw2.c
+@@ -24,7 +24,6 @@
+ #include <sys/param.h>
+ #include <sys/socket.h>
+ #include <sys/sockio.h>
+-#include <sys/sysctl.h>
+
+ #include "ipfw2.h"
+