summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-05-23 22:15:46 +0200
committerKhem Raj <raj.khem@gmail.com>2018-05-26 21:10:55 -0700
commit9f38fa5ae1df01673ad652f6bc92fffe78148ee4 (patch)
tree28e46e054b4e4c024606ec4c55f3ed900c8a52bf /meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
parentef537dcfef67dd397a82de1c881b76097b5a5554 (diff)
downloadmeta-openembedded-9f38fa5ae1df01673ad652f6bc92fffe78148ee4.tar.gz
ubi-utils-klibc: update from v. 1.5.2 to 2.0.2
Update to new version and drop accepted patches. Use autotools and packageconfig (for xattrs). Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch')
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
new file mode 100644
index 0000000000..6ed167f38f
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
@@ -0,0 +1,40 @@
1From e596ae99059c28fa9bb3461e03e7ecaacbf41727 Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Wed, 23 May 2018 15:34:59 +0200
4Subject: [PATCH] libmissing.h: fix klibc build when using glibc toolchain
5
6klibc lacks execinfo.h so adda guard around it.
7Note: build with musl toolchain is ok even without this patch.
8
9Fix build error:
10
11| In file included from ../git/lib/execinfo.c:1:0:
12| ../git/include/libmissing.h:7:10: fatal error: execinfo.h:
13 No such file or directory
14
15Status: Inappropriate [klibc specific]
16
17Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
18---
19 include/libmissing.h | 2 ++
20 1 file changed, 2 insertions(+)
21
22diff --git a/include/libmissing.h b/include/libmissing.h
23index 0196033..832c372 100644
24--- a/include/libmissing.h
25+++ b/include/libmissing.h
26@@ -3,9 +3,11 @@
27
28 #include "config.h"
29
30+#ifndef __KLIBC__
31 #ifdef HAVE_EXECINFO_H
32 #include <execinfo.h>
33 #endif
34+#endif
35
36 #ifndef HAVE_EXECINFO_H
37 int backtrace(void **buffer, int size);
38--
392.7.4
40