From 7e58392bcbcf1b4711c967d93efec045d3c7eea2 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Mon, 25 Sep 2017 05:55:27 +0300 Subject: ipset: bump to 6.34 Signed-off-by: Stijn Tintel --- .../patches/100-ipset-fix-build-with-musl.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/network/utils/ipset/patches/100-ipset-fix-build-with-musl.patch (limited to 'package/network/utils/ipset/patches') diff --git a/package/network/utils/ipset/patches/100-ipset-fix-build-with-musl.patch b/package/network/utils/ipset/patches/100-ipset-fix-build-with-musl.patch new file mode 100644 index 0000000..38377d6 --- /dev/null +++ b/package/network/utils/ipset/patches/100-ipset-fix-build-with-musl.patch @@ -0,0 +1,31 @@ +From 992723e3712a09037338aa9e5506a080e24d1642 Mon Sep 17 00:00:00 2001 +From: Stijn Tintel +Date: Mon, 25 Sep 2017 08:09:01 +0300 +Subject: [PATCH] ipset: fix build with musl + +Include sys/types.h for u_int8_t and define _GNU_SOURCE for musl to +expose it. + +Fixes: 54802b2c2826 ("Report if the option is supported by a newer kernel release") +Signed-off-by: Stijn Tintel +Signed-off-by: Jozsef Kadlecsik +--- + src/ipset.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/ipset.c b/src/ipset.c +index 79f56b8..8d70abc 100644 +--- a/src/ipset.c ++++ b/src/ipset.c +@@ -14,6 +14,8 @@ + #include /* fprintf, fgets */ + #include /* exit */ + #include /* str* */ ++#define _GNU_SOURCE ++#include /* u_int8_t */ + + #include + +-- +2.13.5 + -- cgit v1.1