diff options
| -rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils/0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_git.bb | 8 |
2 files changed, 3 insertions, 36 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils/0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch b/meta/recipes-devtools/mtd/mtd-utils/0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch deleted file mode 100644 index 73d4a8475f..0000000000 --- a/meta/recipes-devtools/mtd/mtd-utils/0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 6fb10bd18488ed84776675bc1b2982800a51d839 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 6 Aug 2022 20:14:38 -0700 | ||
| 4 | Subject: [mtd-utils][PATCH] tests: Remove unused linux/fs.h header from includes | ||
| 5 | |||
| 6 | This header is not needed, moreover it includes linux/mount.h which is | ||
| 7 | now in conflict[1] with glibc provided sys/mount.h from glibc 2.36 onwards | ||
| 8 | |||
| 9 | [1] https://sourceware.org/glibc/wiki/Release/2.36 | ||
| 10 | |||
| 11 | Upstream-Status: Submitted [https://lists.infradead.org/pipermail/linux-mtd/2022-August/094667.html] | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | tests/fs-tests/lib/tests.c | 1 - | ||
| 15 | 1 file changed, 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c | ||
| 18 | index d1a2e0c..3db0426 100644 | ||
| 19 | --- a/tests/fs-tests/lib/tests.c | ||
| 20 | +++ b/tests/fs-tests/lib/tests.c | ||
| 21 | @@ -35,7 +35,6 @@ | ||
| 22 | #include <sys/vfs.h> | ||
| 23 | #include <sys/mount.h> | ||
| 24 | #include <sys/statvfs.h> | ||
| 25 | -#include <linux/fs.h> | ||
| 26 | #include <linux/jffs2.h> | ||
| 27 | |||
| 28 | #include "tests.h" | ||
| 29 | -- | ||
| 30 | 2.37.1 | ||
| 31 | |||
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index 943666e529..2d76991d2f 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb | |||
| @@ -11,12 +11,10 @@ inherit autotools pkgconfig update-alternatives | |||
| 11 | DEPENDS = "zlib e2fsprogs util-linux" | 11 | DEPENDS = "zlib e2fsprogs util-linux" |
| 12 | RDEPENDS:mtd-utils-tests += "bash" | 12 | RDEPENDS:mtd-utils-tests += "bash" |
| 13 | 13 | ||
| 14 | PV = "2.1.4" | 14 | PV = "2.1.5" |
| 15 | 15 | ||
| 16 | SRCREV = "c7f1bfa44a84d02061787e2f6093df5cc40b9f5c" | 16 | SRCREV = "3f3b4cc6c3120107e7aaa21c6415772a255ac49c" |
| 17 | SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \ | 17 | SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master" |
| 18 | file://0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch \ | ||
| 19 | " | ||
| 20 | 18 | ||
| 21 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 22 | 20 | ||
