From: Thomas Petazzoni Date: Sun, 12 Jul 2015 14:24:04 +0000 (+0200) Subject: keyutils: add patch to fix musl build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0dee07e9bdaab03db7281232b56100b380ad099;p=buildroot.git keyutils: add patch to fix musl build failure Fixes: http://autobuild.buildroot.org/results/253/2536b59735f33709f44fac94c81106e5ddd4fc40/ Patch has been submitted upstream. Signed-off-by: Thomas Petazzoni --- diff --git a/package/keyutils/0005-Add-missing-limits.h-include.patch b/package/keyutils/0005-Add-missing-limits.h-include.patch new file mode 100644 index 0000000000..45c84398f9 --- /dev/null +++ b/package/keyutils/0005-Add-missing-limits.h-include.patch @@ -0,0 +1,32 @@ +From b2c6d3744dca029560d0d5e780f16561f8eeed53 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 12 Jul 2015 16:22:14 +0200 +Subject: [PATCH] Add missing include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +key.dns_resolver.c uses ‘UINT_MAX’ and ‘ULONG_MAX’, but forgets to +include , which causes build failure with certain C +libraries (notably the musl C library). + +Signed-off-by: Thomas Petazzoni +--- + key.dns_resolver.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/key.dns_resolver.c b/key.dns_resolver.c +index c2a9fe5..d41e219 100644 +--- a/key.dns_resolver.c ++++ b/key.dns_resolver.c +@@ -56,6 +56,7 @@ + #include + #include + #include ++#include + + static const char *DNS_PARSE_VERSION = "1.0"; + static const char prog[] = "key.dns_resolver"; +-- +2.4.5 +