From 1760943a6a77b2ec360ea4dab8d5547bdcb0b646 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 11 Nov 2020 16:32:59 +0000 Subject: [PATCH] gettext: add version --- .../gettext/gettext-0.21/version.patch | 24 +++++++++++++++++++ meta/recipes-core/gettext/gettext_0.21.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta/recipes-core/gettext/gettext-0.21/version.patch 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 index 0000000000..0d7d8b5c99 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.21/version.patch @@ -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]) diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.bb index bc14867bbb..aa3d3bbd8f 100644 --- a/meta/recipes-core/gettext/gettext_0.21.bb +++ b/meta/recipes-core/gettext/gettext_0.21.bb @@ -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" -- 2.40.1