aboutsummaryrefslogtreecommitdiff
path: root/extra/iptables/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-05-16 19:18:26 +0200
committerCem Keylan <cem@ckyln.com>2022-05-16 19:19:44 +0200
commitc9d4ecc16c7c7ce705e2ff220b5f642514b872d6 (patch)
tree16c85a0f792974adb302c0c795bc5eef9306f90a /extra/iptables/build
parentc91ad954eae954cc908df325676c15ffc83504ad (diff)
downloadrepository-c9d4ecc16c7c7ce705e2ff220b5f642514b872d6.tar.gz
iptables: bump to 1.8.8
Diffstat (limited to 'extra/iptables/build')
-rwxr-xr-xextra/iptables/build3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/iptables/build b/extra/iptables/build
index 33e64b1a..84186e0f 100755
--- a/extra/iptables/build
+++ b/extra/iptables/build
@@ -11,5 +11,8 @@ export LDFLAGS="$LDFLAGS -static"
--with-xtlibdir=/usr/lib/xtables \
--disable-nftables
+clsed '/^#include <netinet\/ether.h>/d' libxtables/xtables.c
+clsed 's/u_int16_t/uint16_t/g' iptables/xshared.h
+
make LDFLAGS="$LDFLAGS -all-static"
make DESTDIR="$1" install