[meta-gplv2,1/3] bash: Update to work with autoconf 2.70

Submitted by Richard Purdie on Jan. 29, 2021, 10:07 a.m. | Patch ID: 179311

Details

Message ID 20210129100724.1359686-1-richard.purdie@linuxfoundation.org
State New
Headers show

Commit Message

Richard Purdie Jan. 29, 2021, 10:07 a.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../bash/bash-3.2.57/autoconf270.patch          | 17 +++++++++++++++++
 recipes-extended/bash/bash_3.2.57.bb            |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 recipes-extended/bash/bash-3.2.57/autoconf270.patch

Patch hide | download patch | download mbox

diff --git a/recipes-extended/bash/bash-3.2.57/autoconf270.patch b/recipes-extended/bash/bash-3.2.57/autoconf270.patch
new file mode 100644
index 0000000..2249bb9
--- /dev/null
+++ b/recipes-extended/bash/bash-3.2.57/autoconf270.patch
@@ -0,0 +1,17 @@ 
+Update to add the required gettext version to work with autoconf 2.70
+
+Upstream-Status: Inappropriate [required for bash 3.2.57 (GPLv2) recipe only]
+RP - 2021/1/28
+
+Index: bash-3.2.57/configure.in
+===================================================================
+--- bash-3.2.57.orig/configure.in
++++ bash-3.2.57/configure.in
+@@ -625,6 +625,7 @@ AC_C_CHAR_UNSIGNED
+ 
+ dnl initialize GNU gettext
+ AM_GNU_GETTEXT([no-libtool], [need-ngettext], [lib/intl])
++AM_GNU_GETTEXT_VERSION([0.21])
+ 
+ dnl header files
+ AC_HEADER_DIRENT
diff --git a/recipes-extended/bash/bash_3.2.57.bb b/recipes-extended/bash/bash_3.2.57.bb
index 5c288b3..f4db7a5 100644
--- a/recipes-extended/bash/bash_3.2.57.bb
+++ b/recipes-extended/bash/bash_3.2.57.bb
@@ -10,6 +10,7 @@  SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
            file://run-ptest \
            file://dont-include-target-CFLAGS-in-host-LDFLAGS.patch \
            file://string-format.patch \
+           file://autoconf270.patch \
           "
 
 SRC_URI[md5sum] = "237a8767c990b43ae2c89895c2dbc062"