diff options
| -rw-r--r-- | meta/recipes-devtools/erofs-utils/erofs-utils/0001-fsck-main.c-add-missing-include.patch | 26 | ||||
| -rw-r--r-- | meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb (renamed from meta/recipes-devtools/erofs-utils/erofs-utils_1.3.bb) | 6 |
2 files changed, 30 insertions, 2 deletions
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils/0001-fsck-main.c-add-missing-include.patch b/meta/recipes-devtools/erofs-utils/erofs-utils/0001-fsck-main.c-add-missing-include.patch new file mode 100644 index 0000000000..c3b3c0bd56 --- /dev/null +++ b/meta/recipes-devtools/erofs-utils/erofs-utils/0001-fsck-main.c-add-missing-include.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From 821778286843b8e88d0cd73a97d20b5a2fff8ea1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Mon, 6 Dec 2021 20:12:54 +0100 | ||
| 4 | Subject: [PATCH] fsck/main.c: add missing include | ||
| 5 | |||
| 6 | Otherwise musl C library builds fail with missing S_IFMT/S_IFDIR | ||
| 7 | definitions. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [email to linux-erofs@lists.ozlabs.org,hsiangkao@linux.alibaba.com] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | --- | ||
| 12 | fsck/main.c | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/fsck/main.c b/fsck/main.c | ||
| 16 | index aefa881..ad48e35 100644 | ||
| 17 | --- a/fsck/main.c | ||
| 18 | +++ b/fsck/main.c | ||
| 19 | @@ -6,6 +6,7 @@ | ||
| 20 | #include <stdlib.h> | ||
| 21 | #include <getopt.h> | ||
| 22 | #include <time.h> | ||
| 23 | +#include <sys/stat.h> | ||
| 24 | #include "erofs/print.h" | ||
| 25 | #include "erofs/io.h" | ||
| 26 | #include "erofs/decompress.h" | ||
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.3.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb index 77cce2fdaf..6ac8a37163 100644 --- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.3.bb +++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb | |||
| @@ -4,8 +4,10 @@ SECTION = "base" | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fa01670a2a8f2d3ab2de15004e0848" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fa01670a2a8f2d3ab2de15004e0848" |
| 5 | HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" | 5 | HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" |
| 6 | 6 | ||
| 7 | SRCREV = "2cd522105ea771ec30b269cd4c57e2265a4d6349" | 7 | SRCREV = "ee97fe5fb77c737df0f77d92ab0d92edd3a11be6" |
| 8 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master" | 8 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master \ |
| 9 | file://0001-fsck-main.c-add-missing-include.patch \ | ||
| 10 | " | ||
| 9 | 11 | ||
| 10 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))" | 12 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))" |
| 11 | 13 | ||
