diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2018-03-05 21:04:14 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-03-05 21:04:14 +0100 |
commit | 92b8bd0879e5f594d1233091437ac9a8b0c240d7 (patch) | |
tree | c0196bf0d0ad2603198f469e0eda88fe71b7abc0 /package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch | |
parent | 528f16547689fa771bc7cb8de0885286dd439c17 (diff) | |
parent | fb4a33e586bc041a43cd415869e91d29287dcefd (diff) | |
download | buildroot-92b8bd0879e5f594d1233091437ac9a8b0c240d7.tar.gz buildroot-92b8bd0879e5f594d1233091437ac9a8b0c240d7.zip |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch')
-rw-r--r-- | package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch b/package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch deleted file mode 100644 index 1f86ad1354..0000000000 --- a/package/iptables/0001-utils-nfsynproxy-fix-build-with-musl-libc.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 06e0312d0bfd1f0b9e7c23ab654f18524d49e86b Mon Sep 17 00:00:00 2001 -From: Baruch Siach <baruch@tkos.co.il> -Date: Thu, 2 Mar 2017 09:20:48 +0200 -Subject: [PATCH] utils: nfsynproxy: fix build with musl libc - -The musl libc exposes some struct tcphdr field only when _GNU_SOURCE is -defined. Fix the following build failure: - -nfsynproxy.c: In function ‘parse_packet’: -nfsynproxy.c:34:9: error: ‘const struct tcphdr’ has no member named ‘syn’ - if (!th->syn || !th->ack) - ^ -nfsynproxy.c:34:21: error: ‘const struct tcphdr’ has no member named ‘ack’ - if (!th->syn || !th->ack) - ^ -nfsynproxy.c:42:8: error: ‘const struct tcphdr’ has no member named ‘res2’ - if (th->res2 == 0x1) - ^ -nfsynproxy.c:45:13: error: ‘const struct tcphdr’ has no member named ‘doff’ - length = th->doff * 4 - sizeof(*th); - ^ - -Signed-off-by: Baruch Siach <baruch@tkos.co.il> ---- -Upstream status: pending (http://patchwork.ozlabs.org/patch/734503/) - - utils/nfsynproxy.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/utils/nfsynproxy.c b/utils/nfsynproxy.c -index baedc92c5d9f..bf5c416340f1 100644 ---- a/utils/nfsynproxy.c -+++ b/utils/nfsynproxy.c -@@ -6,6 +6,7 @@ - * published by the Free Software Foundation. - */ - -+#define _GNU_SOURCE - #include <stdlib.h> - #include <stdbool.h> - #include <unistd.h> --- -2.11.0 - |