9a52f40e58
Upstream does not provide hashes anymore, replace with self-computed sha256 hash. Removed patches applied upstream, renumbered remaining patches: 0001-allow-building-of-the-shared-library-to-be-suppressed.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=a4deb71ddc05e951c8be8d46615beed9d408a5c8 0004-Makefile-for-buildroot.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=d83b9b827c6c4bc2377dfa073cf5c837b87465e8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
961 B
Diff
33 lines
961 B
Diff
From b2c6d3744dca029560d0d5e780f16561f8eeed53 Mon Sep 17 00:00:00 2001
|
||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
Date: Sun, 12 Jul 2015 16:22:14 +0200
|
||
Subject: [PATCH] Add missing <limits.h> 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 <limits.h>, which causes build failure with certain C
|
||
libraries (notably the musl C library).
|
||
|
||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
---
|
||
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 <stdlib.h>
|
||
#include <unistd.h>
|
||
#include <time.h>
|
||
+#include <limits.h>
|
||
|
||
static const char *DNS_PARSE_VERSION = "1.0";
|
||
static const char prog[] = "key.dns_resolver";
|
||
--
|
||
2.4.5
|
||
|