gettext: upgrade 0.21.1 -> 0.22

Drop autoconf-2.73.patch as upstream did update the gnulib.

(From OE-Core rev: 7c29196f8e378cb12b82da31ab2a05f5e8d1b831)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-09-06 18:56:18 +02:00
committed by Richard Purdie
parent 1584613ca8
commit 84ba56a144
11 changed files with 3 additions and 52 deletions

View File

@@ -1,50 +0,0 @@
The gnulib largefile macro needs updating to work with autoconf 2.73. Rather
than the full code:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb
Just tweak the exiting code to work with 2.73. The next gettext upgrade should
update to new gnulib
Upstream-Status: Inappropriate
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Index: gettext-0.21.1/gettext-runtime/gnulib-m4/largefile.m4
===================================================================
--- gettext-0.21.1.orig/gettext-runtime/gnulib-m4/largefile.m4
+++ gettext-0.21.1/gettext-runtime/gnulib-m4/largefile.m4
@@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
# with _TIME_BITS. Also, work around a problem in autoconf <= 2.69:
# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
# or configures them incorrectly in some cases.
-m4_version_prereq([2.70], [], [
+m4_version_prereq([2.73], [], [
# _AC_SYS_LARGEFILE_TEST_INCLUDES
# -------------------------------
Index: gettext-0.21.1/gettext-tools/gnulib-m4/largefile.m4
===================================================================
--- gettext-0.21.1.orig/gettext-tools/gnulib-m4/largefile.m4
+++ gettext-0.21.1/gettext-tools/gnulib-m4/largefile.m4
@@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
# with _TIME_BITS. Also, work around a problem in autoconf <= 2.69:
# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
# or configures them incorrectly in some cases.
-m4_version_prereq([2.70], [], [
+m4_version_prereq([2.73], [], [
# _AC_SYS_LARGEFILE_TEST_INCLUDES
# -------------------------------
Index: gettext-0.21.1/libtextstyle/gnulib-m4/largefile.m4
===================================================================
--- gettext-0.21.1.orig/libtextstyle/gnulib-m4/largefile.m4
+++ gettext-0.21.1/libtextstyle/gnulib-m4/largefile.m4
@@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
# with _TIME_BITS. Also, work around a problem in autoconf <= 2.69:
# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
# or configures them incorrectly in some cases.
-m4_version_prereq([2.70], [], [
+m4_version_prereq([2.73], [], [
# _AC_SYS_LARGEFILE_TEST_INCLUDES
# -------------------------------

View File

@@ -1,4 +1,4 @@
HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
"
SRC_URI[sha256sum] = "e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45"
SRC_URI[sha256sum] = "49f089be11b490170bbf09ed2f51e5f5177f55be4cc66504a5861820e0fb06ab"

View File

@@ -30,7 +30,6 @@ SRC_URI += " \
file://serial-tests-config.patch \
file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
file://autoconf-2.73.patch \
"
inherit autotools texinfo pkgconfig ptest
@@ -201,6 +200,8 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = "\
glibc-charmap-euc-kr \
glibc-gconv-euc-jp \
glibc-charmap-euc-jp \
glibc-gconv-gb18030 \
glibc-charmap-gb18030 \
locale-base-de-de \
locale-base-fr-fr \
"