Files
poky/meta/recipes-devtools/mtd/mtd-utils/0001-Fix-build-with-musl.patch
Alexander Kanavin f065766508 mtd-utils: update to 1.5.2
Drop 0001-hashtable-Remove-duplicate-hashtable_iterator_value-.patch,
the problem has been fixed upstream.
Drop backported 0001-mtd-utils-libfec-use-standard-C-type-instead-of-u_lo.patch
Rebase 0001-Fix-build-with-musl.patch (2 out of 3 fixes have been made upstream)

(From OE-Core rev: 3fba41e7f58ba68bb2e215b6f0bc21bae47ca035)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16 12:12:17 +00:00

30 lines
687 B
Diff

From e16fa28bc57c29923ab60af2ac343da83e1992d8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 6 Oct 2015 23:51:34 +0000
Subject: [PATCH] Fix build with musl
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
mkfs.jffs2.c | 44 ++++++++++++++++++++++++++++++++++++++++++--
recv_image.c | 1 -
serve_image.c | 1 -
3 files changed, 42 insertions(+), 4 deletions(-)
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c
index f09c0b2..ed2dc43 100644
--- a/mkfs.jffs2.c
+++ b/mkfs.jffs2.c
@@ -72,6 +72,7 @@
#include <byteswap.h>
#include <crc32.h>
#include <inttypes.h>
+#include <limits.h>
#include "rbtree.h"
#include "common.h"
--
2.6.1