]> code.ossystems Code Review - openembedded-core.git/commitdiff
gettext: add version
authorRoss Burton <ross.burton@arm.com>
Wed, 11 Nov 2020 16:32:59 +0000 (16:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Feb 2021 21:46:04 +0000 (21:46 +0000)
meta/recipes-core/gettext/gettext-0.21/version.patch [new file with mode: 0644]
meta/recipes-core/gettext/gettext_0.21.bb

diff --git a/meta/recipes-core/gettext/gettext-0.21/version.patch b/meta/recipes-core/gettext/gettext-0.21/version.patch
new file mode 100644 (file)
index 0000000..0d7d8b5
--- /dev/null
@@ -0,0 +1,24 @@
+diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac
+index 458672d..a4bf67c 100644
+--- a/gettext-runtime/configure.ac
++++ b/gettext-runtime/configure.ac
+@@ -98,6 +98,7 @@ dnl Checks for libraries.
+ dnl These are the only lines required to internationalize the package.
+ dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
+ AM_GNU_GETTEXT([use-libtool], [need-ngettext])
++AM_GNU_GETTEXT_VERSION([0.21])
+ dnl Conditionals for the intl/ directory.
+ AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test $USE_INCLUDED_LIBINTL = yes])
+ AM_CONDITIONAL([BUILD_INCLUDED_LIBINTL], [test $BUILD_INCLUDED_LIBINTL = yes])
+diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
+index 9f7504d..72d6bca 100644
+--- a/gettext-tools/configure.ac
++++ b/gettext-tools/configure.ac
+@@ -123,6 +123,7 @@ dnl Checks for libraries.
+ dnl These are the only lines required to internationalize the package.
+ dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
+ AM_GNU_GETTEXT([use-libtool], [need-ngettext])
++AM_GNU_GETTEXT_VERSION([0.21])
+ dnl Conditionals for the intl/ directory.
+ AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test $USE_INCLUDED_LIBINTL = yes])
+ AM_CONDITIONAL([BUILD_INCLUDED_LIBINTL], [test $BUILD_INCLUDED_LIBINTL = yes])
index bc14867bbb217f24441d6055abdd3f64f89e7494..aa3d3bbd8f8701657f54c35f0816df20ba2b5a4e 100644 (file)
@@ -22,6 +22,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
            file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
            file://mingw.patch \
            file://0001-msgmerge-29-Add-executable-file-mode-bits.patch \
+           file://version.patch \
            "
 SRC_URI[sha256sum] = "c77d0da3102aec9c07f43671e60611ebff89a996ef159497ce8e59d075786b12"