diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.21.1/autoconf-2.73.patch | 50 | ||||
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.21.1.bb | 1 |
2 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.21.1/autoconf-2.73.patch b/meta/recipes-core/gettext/gettext-0.21.1/autoconf-2.73.patch new file mode 100644 index 0000000000..ae5b2491bb --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.21.1/autoconf-2.73.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | The gnulib largefile macro needs updating to work with autoconf 2.73. Rather | ||
2 | than the full code: | ||
3 | |||
4 | https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb | ||
5 | |||
6 | Just tweak the exiting code to work with 2.73. The next gettext upgrade should | ||
7 | update to new gnulib | ||
8 | |||
9 | Upstream-Status: Inappropriate | ||
10 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
11 | |||
12 | Index: gettext-0.21.1/gettext-runtime/gnulib-m4/largefile.m4 | ||
13 | =================================================================== | ||
14 | --- gettext-0.21.1.orig/gettext-runtime/gnulib-m4/largefile.m4 | ||
15 | +++ gettext-0.21.1/gettext-runtime/gnulib-m4/largefile.m4 | ||
16 | @@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], | ||
17 | # with _TIME_BITS. Also, work around a problem in autoconf <= 2.69: | ||
18 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, | ||
19 | # or configures them incorrectly in some cases. | ||
20 | -m4_version_prereq([2.70], [], [ | ||
21 | +m4_version_prereq([2.73], [], [ | ||
22 | |||
23 | # _AC_SYS_LARGEFILE_TEST_INCLUDES | ||
24 | # ------------------------------- | ||
25 | Index: gettext-0.21.1/gettext-tools/gnulib-m4/largefile.m4 | ||
26 | =================================================================== | ||
27 | --- gettext-0.21.1.orig/gettext-tools/gnulib-m4/largefile.m4 | ||
28 | +++ gettext-0.21.1/gettext-tools/gnulib-m4/largefile.m4 | ||
29 | @@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], | ||
30 | # with _TIME_BITS. Also, work around a problem in autoconf <= 2.69: | ||
31 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, | ||
32 | # or configures them incorrectly in some cases. | ||
33 | -m4_version_prereq([2.70], [], [ | ||
34 | +m4_version_prereq([2.73], [], [ | ||
35 | |||
36 | # _AC_SYS_LARGEFILE_TEST_INCLUDES | ||
37 | # ------------------------------- | ||
38 | Index: gettext-0.21.1/libtextstyle/gnulib-m4/largefile.m4 | ||
39 | =================================================================== | ||
40 | --- gettext-0.21.1.orig/libtextstyle/gnulib-m4/largefile.m4 | ||
41 | +++ gettext-0.21.1/libtextstyle/gnulib-m4/largefile.m4 | ||
42 | @@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], | ||
43 | # with _TIME_BITS. Also, work around a problem in autoconf <= 2.69: | ||
44 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, | ||
45 | # or configures them incorrectly in some cases. | ||
46 | -m4_version_prereq([2.70], [], [ | ||
47 | +m4_version_prereq([2.73], [], [ | ||
48 | |||
49 | # _AC_SYS_LARGEFILE_TEST_INCLUDES | ||
50 | # ------------------------------- | ||
diff --git a/meta/recipes-core/gettext/gettext_0.21.1.bb b/meta/recipes-core/gettext/gettext_0.21.1.bb index b80ea9276e..2f030a2df9 100644 --- a/meta/recipes-core/gettext/gettext_0.21.1.bb +++ b/meta/recipes-core/gettext/gettext_0.21.1.bb | |||
@@ -29,6 +29,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | |||
29 | file://serial-tests-config.patch \ | 29 | file://serial-tests-config.patch \ |
30 | file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ | 30 | file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ |
31 | file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ | 31 | file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ |
32 | file://autoconf-2.73.patch \ | ||
32 | " | 33 | " |
33 | SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45" | 34 | SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45" |
34 | 35 | ||