From e847486176a502df937a5f022c67967cf1b3aa75 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 19 Dec 2015 06:27:07 +0100 Subject: [PATCH] iptables: forgot to add patch for musl. --- srcpkgs/iptables/patches/musl.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/iptables/patches/musl.patch diff --git a/srcpkgs/iptables/patches/musl.patch b/srcpkgs/iptables/patches/musl.patch new file mode 100644 index 00000000000..cb1aa3809c3 --- /dev/null +++ b/srcpkgs/iptables/patches/musl.patch @@ -0,0 +1,24 @@ +--- extensions/libxt_TCPOPTSTRIP.c.orig 2015-12-19 06:19:51.762676172 +0100 ++++ extensions/libxt_TCPOPTSTRIP.c 2015-12-19 06:20:19.081609317 +0100 +@@ -12,6 +12,21 @@ + #ifndef TCPOPT_MD5SIG + # define TCPOPT_MD5SIG 19 + #endif ++#ifndef TCPOPT_MAXSEG ++# define TCPOPT_MAXSEG 2 ++#endif ++#ifndef TCPOPT_WINDOW ++# define TCPOPT_WINDOW 3 ++#endif ++#ifndef TCPOPT_SACK_PERMITTED ++# define TCPOPT_SACK_PERMITTED 4 ++#endif ++#ifndef TCPOPT_SACK ++# define TCPOPT_SACK 5 ++#endif ++#ifndef TCPOPT_TIMESTAMP ++# define TCPOPT_TIMESTAMP 8 ++#endif + + enum { + O_STRIP_OPTION = 0,