summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2020-11-11 16:32:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-03 21:46:04 +0000
commit1760943a6a77b2ec360ea4dab8d5547bdcb0b646 (patch)
treede4004acf39ca0a85564fc51065df8cfbb12b956
parent42f52a7948241ddea772a47aab44b0657045a6d5 (diff)
downloadopenembedded-core-1760943a6a77b2ec360ea4dab8d5547bdcb0b646.tar.gz
openembedded-core-1760943a6a77b2ec360ea4dab8d5547bdcb0b646.tar.bz2
openembedded-core-1760943a6a77b2ec360ea4dab8d5547bdcb0b646.zip
gettext: add version
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/version.patch24
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.bb1
2 files changed, 25 insertions, 0 deletions
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"