mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Upgrade to mtd-utils 2.3.0. Details about the 2.3.0 release: https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u [RP: Tweak SRC_URI formatting] (From OE-Core rev: b72823fc09674f78ad452250f453f6e47d9444de) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.6 KiB
Diff
42 lines
1.6 KiB
Diff
From f218be1ce0c8923d690221160a3dd9f1492acaf1 Mon Sep 17 00:00:00 2001
|
|
From: Fabio Estevam <festevam@gmail.com>
|
|
Date: Tue, 18 Feb 2025 08:17:30 -0300
|
|
Subject: [PATCH v4 mtd-utils 4/4] ubifs-utils: extract_files: Include <linux/limits.h>
|
|
|
|
Include <linux/limits.h> to fix the following build error when building
|
|
with musl:
|
|
|
|
| ../git/ubifs-utils/fsck.ubifs/extract_files.c: In function 'parse_ino_node':
|
|
| ../git/ubifs-utils/fsck.ubifs/extract_files.c:144:47: error: 'XATTR_LIST_MAX' undeclared (first use in this function)
|
|
| 144 | if (ino_node->xnms + ino_node->xcnt > XATTR_LIST_MAX) {
|
|
| | ^~~~~~~~~~~~~~
|
|
| ../git/ubifs-utils/fsck.ubifs/extract_files.c:144:47: note: each undeclared identifier is reported only once for each function it appears in
|
|
| make: *** [Makefile:4374: ubifs-utils/fsck.ubifs/fsck_ubifs-extract_files.o] Error 1
|
|
|
|
Upstream-Status: Submitted [https://lore.kernel.org/linux-mtd/20250219130244.2119582-4-festevam@gmail.com/T/#t]
|
|
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
|
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
|
|
---
|
|
Changes since v3:
|
|
- None.
|
|
|
|
ubifs-utils/fsck.ubifs/extract_files.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/ubifs-utils/fsck.ubifs/extract_files.c b/ubifs-utils/fsck.ubifs/extract_files.c
|
|
index c83d37749bc0..000ef5d10565 100644
|
|
--- a/ubifs-utils/fsck.ubifs/extract_files.c
|
|
+++ b/ubifs-utils/fsck.ubifs/extract_files.c
|
|
@@ -10,6 +10,8 @@
|
|
#include <getopt.h>
|
|
#include <sys/stat.h>
|
|
|
|
+#include <linux/limits.h>
|
|
+
|
|
#include "linux_err.h"
|
|
#include "bitops.h"
|
|
#include "kmem.h"
|
|
--
|
|
2.34.1
|
|
|