mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02: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>
54 lines
2.0 KiB
Diff
54 lines
2.0 KiB
Diff
From 2fc872697f72214e1e3efc6c2523e374fa5d681d Mon Sep 17 00:00:00 2001
|
|
From: Fabio Estevam <festevam@gmail.com>
|
|
Date: Mon, 17 Feb 2025 16:02:04 -0300
|
|
Subject: [PATCH v4 mtd-utils 1/4] ubifs-utils: ubifs.h: Include <fcntl.h>
|
|
|
|
Include the <fcntl.h> header file to fix the following error
|
|
when building with musl:
|
|
|
|
| In file included from ../git/ubifs-utils/common/compr.c:42:
|
|
| ../git/ubifs-utils/libubifs/ubifs.h:313:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
|
|
| 313 | loff_t ui_size;
|
|
| | ^~~~~~
|
|
| | off_t
|
|
| ../git/ubifs-utils/libubifs/ubifs.h:1341:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
|
|
| 1341 | loff_t i_size;
|
|
| | ^~~~~~
|
|
| | off_t
|
|
| ../git/ubifs-utils/libubifs/ubifs.h:1342:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
|
|
| 1342 | loff_t d_size;
|
|
| | ^~~~~~
|
|
| | off_t
|
|
| ../git/ubifs-utils/libubifs/ubifs.h:1899:44: error: unknown type name 'loff_t'; did you mean 'off_t'?
|
|
| 1899 | int deletion, loff_t new_size);
|
|
| | ^~~~~~
|
|
| | off_t
|
|
| make: *** [Makefile:4878: ubifs-utils/common/mkfs_ubifs-compr.o] Error 1
|
|
|
|
Upstream-Status: Submitted [https://lore.kernel.org/linux-mtd/20250219130244.2119582-1-festevam@gmail.com/T/#t]
|
|
Signed-off-by: Fabio Estevam <festevam@gmail.com>
|
|
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
|
|
Reviewed-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
Changes since v3:
|
|
- Removed Upstream-Status tag.
|
|
|
|
ubifs-utils/libubifs/ubifs.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/ubifs-utils/libubifs/ubifs.h b/ubifs-utils/libubifs/ubifs.h
|
|
index 0908a2289208..1c7bc7bd0c80 100644
|
|
--- a/ubifs-utils/libubifs/ubifs.h
|
|
+++ b/ubifs-utils/libubifs/ubifs.h
|
|
@@ -11,6 +11,7 @@
|
|
#ifndef __UBIFS_H__
|
|
#define __UBIFS_H__
|
|
|
|
+#include <fcntl.h>
|
|
#include <string.h>
|
|
|
|
#include "linux_types.h"
|
|
--
|
|
2.34.1
|
|
|