diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-11-20 14:44:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 17:57:22 +0000 |
commit | a78fca575d71ee58529e3ba6f9d3739f9d2e4a08 (patch) | |
tree | bb304cd2c3fa3ebaaa3909fa7218ad53cddbd9b6 | |
parent | 596cfc5b0aac2c73e2ad911a719404c665700417 (diff) | |
download | poky-a78fca575d71ee58529e3ba6f9d3739f9d2e4a08.tar.gz |
e2fsprogs: fix build issues with the latest version of gettext
(From OE-Core rev: 55134bc50193a53b659af9dd315bdc4d9b87da1c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 files changed, 73 insertions, 12 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch new file mode 100644 index 0000000000..2719594c2f --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From f907fea9ea053d5433b5199ce74008664141f753 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 19 Nov 2019 17:32:33 +0100 | ||
4 | Subject: [PATCH] configure.ac: correct AM_GNU_GETTEXT | ||
5 | |||
6 | New version of gettext require the 'external' argument. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- | ||
11 | configure.ac | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 654ff43d..4772b97b 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -873,7 +873,7 @@ AC_SUBST(GETTEXT_PACKAGE) | ||
19 | AC_SUBST(PACKAGE) | ||
20 | AC_SUBST(VERSION) | ||
21 | |||
22 | -AM_GNU_GETTEXT | ||
23 | +AM_GNU_GETTEXT([external]) | ||
24 | dnl @MKDIR_P@ is expanded in AM_GNU_GETTEXT | ||
25 | AC_SUBST([mkdir_p],['$(MKDIR_P)']) | ||
26 | dnl | ||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch new file mode 100644 index 0000000000..31b585fc9a --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d034239f05cfba849f6ad16eb3f1ea37efbe4f95 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 19 Nov 2019 18:34:00 +0100 | ||
4 | Subject: [PATCH] intl: do not try to use gettext defines that no longer exist | ||
5 | |||
6 | Newer version of gettext no longer define this in m4 files, | ||
7 | so patch it out until e2fsprogs upstream sorts the situation. | ||
8 | |||
9 | Upstream-Status: Inappropriate [hardcodes a choice] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | intl/Makefile.in | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/intl/Makefile.in b/intl/Makefile.in | ||
16 | index e037e23c..89a876b8 100644 | ||
17 | --- a/intl/Makefile.in | ||
18 | +++ b/intl/Makefile.in | ||
19 | @@ -175,7 +175,7 @@ libgnuintl.h.msvc-static libgnuintl.h.msvc-shared README.woe32 Makefile.msvc | ||
20 | DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \ | ||
21 | COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h | ||
22 | |||
23 | -all: all-@USE_INCLUDED_LIBINTL@ | ||
24 | +all: | ||
25 | all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed | ||
26 | all-no: all-no-@BUILD_INCLUDED_LIBINTL@ | ||
27 | all-no-yes: libgnuintl.$la | ||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch index 69c09bc1d7..4d335af4cf 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c7914309aeee6209ddb6995c084805a911d9cc82 Mon Sep 17 00:00:00 2001 | 1 | From e8331a76983e839a3d193446ab8ae9c1b09daa07 Mon Sep 17 00:00:00 2001 |
2 | From: Jackie Huang <jackie.huang@windriver.com> | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
3 | Date: Wed, 10 Aug 2016 11:19:44 +0800 | 3 | Date: Wed, 10 Aug 2016 11:19:44 +0800 |
4 | Subject: [PATCH] Fix missing check for permission denied. | 4 | Subject: [PATCH] Fix missing check for permission denied. |
@@ -19,7 +19,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | |||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/lib/support/profile.c b/lib/support/profile.c | 21 | diff --git a/lib/support/profile.c b/lib/support/profile.c |
22 | index 9e96673b..32d83002 100644 | 22 | index 585ed595..810dd66b 100644 |
23 | --- a/lib/support/profile.c | 23 | --- a/lib/support/profile.c |
24 | +++ b/lib/support/profile.c | 24 | +++ b/lib/support/profile.c |
25 | @@ -335,7 +335,7 @@ profile_init(const char * const *files, profile_t *ret_profile) | 25 | @@ -335,7 +335,7 @@ profile_init(const char * const *files, profile_t *ret_profile) |
@@ -31,6 +31,3 @@ index 9e96673b..32d83002 100644 | |||
31 | strcmp(*fs, default_filename)) | 31 | strcmp(*fs, default_filename)) |
32 | goto errout; | 32 | goto errout; |
33 | 33 | ||
34 | -- | ||
35 | 2.16.1 | ||
36 | |||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch index 830e9d57a5..95e6a7a2d5 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch | |||
@@ -1,14 +1,23 @@ | |||
1 | From de6d6f0dd010f5b9d917553acb9430278f448f23 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Mon, 23 Dec 2013 13:38:34 +0000 | ||
4 | Subject: [PATCH] e2fsprogs: silence debugfs | ||
5 | |||
1 | When executing a script don't echo every command, as we do this for entire | 6 | When executing a script don't echo every command, as we do this for entire |
2 | filesystems at rootfs time. | 7 | filesystems at rootfs time. |
3 | 8 | ||
4 | Upstream-Status: Inappropriate | 9 | Upstream-Status: Inappropriate |
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 10 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
6 | 11 | ||
12 | --- | ||
13 | debugfs/debugfs.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
7 | diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c | 16 | diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c |
8 | index 5590295..ac57292 100644 | 17 | index 15b01214..15164df2 100644 |
9 | --- a/debugfs/debugfs.c | 18 | --- a/debugfs/debugfs.c |
10 | +++ b/debugfs/debugfs.c | 19 | +++ b/debugfs/debugfs.c |
11 | @@ -2378,7 +2378,7 @@ static int source_file(const char *cmd_file, int ss_idx) | 20 | @@ -2492,7 +2492,7 @@ static int source_file(const char *cmd_file, int ss_idx) |
12 | cp = strchr(buf, '\r'); | 21 | cp = strchr(buf, '\r'); |
13 | if (cp) | 22 | if (cp) |
14 | *cp = 0; | 23 | *cp = 0; |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb index 90db71df00..ab44c28f2a 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb | |||
@@ -1,11 +1,13 @@ | |||
1 | require e2fsprogs.inc | 1 | require e2fsprogs.inc |
2 | 2 | ||
3 | SRC_URI += "file://remove.ldconfig.call.patch \ | 3 | SRC_URI += "file://remove.ldconfig.call.patch \ |
4 | file://run-ptest \ | 4 | file://run-ptest \ |
5 | file://ptest.patch \ | 5 | file://ptest.patch \ |
6 | file://mkdir_p.patch \ | 6 | file://mkdir_p.patch \ |
7 | file://0001-misc-create_inode.c-set-dir-s-mode-correctly.patch \ | 7 | file://0001-misc-create_inode.c-set-dir-s-mode-correctly.patch \ |
8 | " | 8 | file://0001-configure.ac-correct-AM_GNU_GETTEXT.patch \ |
9 | file://0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch \ | ||
10 | " | ||
9 | 11 | ||
10 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ | 12 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ |
11 | file://quiet-debugfs.patch \ | 13 | file://quiet-debugfs.patch \ |