summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-27 20:47:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-30 07:54:44 +0100
commitf35b5f5d20f99dca06f579bccaceb5d7c2f9cf3f (patch)
treec5ebd71d03a6d2a26ea16ce9eb2f7a4b6858149e /meta/recipes-core/gettext
parent231b7099e5979ac31b8c178de4e68f7a7269b404 (diff)
downloadpoky-f35b5f5d20f99dca06f579bccaceb5d7c2f9cf3f.tar.gz
autoconf: Upgrade to 2.72c
2.72c is a prerelease version of autoconf 2.73. It contains largefile and y2038 64 bit time_t improvements for 32 bit architectures. Rather than work on the older codebase, this brings us to work with the recent autoconf upstream with the 64 bit changes. It is unclear when upstream will release 2.73 but it is easier for us to be aligned now we've done the bulk of the work needed to update. Upstream added several patches which fixed several common failures OE builds ran into (backported in the next commit). In general testing has otherwise been good for us. There is an unfortunate gnulib largefile.m4 bug. This change patches various software to workaround it, next time they update new versions of the gnulib code will be pulled in which address the issue with the official fix. There are also a couple of ordering related fixes for apr and libarchive. (From OE-Core rev: bb74a03e927b4867d885ad3539b097f0e7ed108c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext')
-rw-r--r--meta/recipes-core/gettext/gettext-0.21.1/autoconf-2.73.patch50
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.1.bb1
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 @@
1The gnulib largefile macro needs updating to work with autoconf 2.73. Rather
2than the full code:
3
4https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb
5
6Just tweak the exiting code to work with 2.73. The next gettext upgrade should
7update to new gnulib
8
9Upstream-Status: Inappropriate
10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11
12Index: 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 # -------------------------------
25Index: 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 # -------------------------------
38Index: 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 "
33SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45" 34SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45"
34 35