diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2018-05-14 00:17:30 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-05-17 08:32:26 -0700 |
commit | e22a87046f51e40972d732377505e62f9940d874 (patch) | |
tree | c92282737f71711b9cb65cb9f3566f4d46ff5a3a /meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch | |
parent | b4d849f5dbd7c0919e6fc64ece4394dee911e4cd (diff) | |
download | meta-openembedded-e22a87046f51e40972d732377505e62f9940d874.tar.gz |
kexec-tools-klibc: upgrade from v. 2.0.2 to 2.0.17
This version does support aarch64.
Ad klibc-specific patchset and track the git repository
to get the (many) fixes for the warnings.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch')
-rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch new file mode 100644 index 000000000..20934da89 --- /dev/null +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0012-purgatory-string.c-avoid-inclusion-of-string.h.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 2d2ad16f9328a7cbb3f5b8479ae93eb923a0727f Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrea Adami <andrea.adami@gmail.com> | ||
3 | Date: Thu, 19 Apr 2018 00:28:14 +0200 | ||
4 | Subject: [PATCH] purgatory/string.c: avoid inclusion of string.h | ||
5 | |||
6 | Fix | ||
7 | |||
8 | purgatory/string.c:39:5: error: conflicting types for 'memcmp' | ||
9 | |||
10 | Upstream-Status: Inappropriate [klibc specific] | ||
11 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | ||
12 | |||
13 | --- | ||
14 | purgatory/string.c | 2 ++ | ||
15 | 1 file changed, 2 insertions(+) | ||
16 | |||
17 | diff --git a/purgatory/string.c b/purgatory/string.c | ||
18 | index f06c460..c5e978a 100644 | ||
19 | --- a/purgatory/string.c | ||
20 | +++ b/purgatory/string.c | ||
21 | @@ -1,5 +1,7 @@ | ||
22 | #include <stddef.h> | ||
23 | +#ifndef __KLIBC__ | ||
24 | #include <string.h> | ||
25 | +#endif | ||
26 | |||
27 | size_t strnlen(const char *s, size_t max) | ||
28 | { | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||