Skip to contentSkip to conversation

bash: Update to work with autoconf 2.70

PATCH New Richard Purdie 1 participant 3 messages Jan 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 bash: Update to work with autoconf 2.70

---
 .../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
recipes-extended/bash/bash-3.2.57/autoconf270.patch new file +17 -0
new file mode 100644
index 0000000..2249bb9
@@ -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
recipes-extended/bash/bash_3.2.57.bb +1 -0
index 5c288b3..f4db7a5 100644
@@ -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"
Signature · 1 line
2.27.0
#1 lore raw

PATCH 2/3 diffutils: Update to work with autoconf 2.70

---
 .../diffutils/diffutils-2.8.1/autoconf270.patch | 17 +++++++++++++++++
 recipes-extended/diffutils/diffutils_2.8.1.bb   |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 recipes-extended/diffutils/diffutils-2.8.1/autoconf270.patch
recipes-extended/diffutils/diffutils-2.8.1/autoconf270.patch new file +17 -0
new file mode 100644
index 0000000..5651675
@@ -0,0 +1,17 @@
+Update to add the required gettext version to work with autoconf 2.70
+
+Upstream-Status: Inappropriate [needed for obsolete GPLv2 version]
+RP - 2021/1/28
+
+Index: diffutils-2.8.1/configure.ac
+===================================================================
+--- diffutils-2.8.1.orig/configure.ac
++++ diffutils-2.8.1/configure.ac
+@@ -62,6 +62,7 @@ AC_CHECK_TYPE(ptrdiff_t, int)
+ AC_CHECK_TYPE(ssize_t, int)
+ jm_AC_TYPE_UINTMAX_T
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.21])
+ XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
+ AC_HEADER_DIRENT
+ AC_HEADER_STAT
recipes-extended/diffutils/diffutils_2.8.1.bb +1 -0
index 7c43c4b..88d189d 100644
@@ -11,6 +11,7 @@ SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz \
            file://0001-Make-it-build-with-compile-time-hardening-enabled.patch \
            file://0002-included-libc-use-mempcpy-instead-of.patch \
            file://0003-context-fix-compilation-with-64bit-time_t-on-32bit-a.patch \
+           file://autoconf270.patch \
            "
 
 SRC_URI[md5sum] = "71f9c5ae19b60608f6c7f162da86a428"
Signature · 1 line
2.27.0
#2 lore raw

PATCH 3/3 grep: Update to work with autoconf 2.70

In reply to Richard Purdie
---
 .../grep/grep-2.5.1a/autoconf270.patch        | 27 +++++++++++++++++++
 recipes-extended/grep/grep_2.5.1a.bb          |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-extended/grep/grep-2.5.1a/autoconf270.patch
recipes-extended/grep/grep-2.5.1a/autoconf270.patch new file +27 -0
new file mode 100644
index 0000000..fe2cb0b
@@ -0,0 +1,27 @@
+Update to add the required gettext version to work with autoconf 2.70
+
+Also the script needs CPP so add the appropriate macro.
+
+Upstream-Status: Inappropriate [needed for old GPLv2 version only]
+RP - 2021/1/28
+
+Index: grep-2.5.1a/configure.in
+===================================================================
+--- grep-2.5.1a.orig/configure.in
++++ grep-2.5.1a/configure.in
+@@ -27,6 +27,7 @@ AC_PROG_AWK
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
++AC_PROG_CPP
+ 
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_SYS_LARGEFILE
+@@ -73,6 +74,7 @@ esac
+ dnl I18N feature
+ ALL_LINGUAS="cs de el eo es et fr gl hr id it ja ko nl no pl pt_BR ru sl sv"
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.21])
+ 
+ dnl DOS file name convention
+ dnl sets HAVE_DOS_FILE_NAMES
recipes-extended/grep/grep_2.5.1a.bb +1 -0
index d3b4ddc..5445c7e 100644
@@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \
            file://grep-egrep-fgrep-Fix-LSB-NG-cases.patch \
            file://search-fix-compilation-error-with-security-flags-ena.patch \
            file://0001-Fix-builds-with-gettext-0.20.patch \
+           file://autoconf270.patch \
            "
 
 SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c"
Signature · 1 line
2.27.0