[meta-gplv2,2/3] diffutils: Update to work with autoconf 2.70

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

Details

Message ID 20210129100724.1359686-2-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>
---
 .../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

Patch hide | download patch | download mbox

diff --git a/recipes-extended/diffutils/diffutils-2.8.1/autoconf270.patch b/recipes-extended/diffutils/diffutils-2.8.1/autoconf270.patch
new file mode 100644
index 0000000..5651675
--- /dev/null
+++ b/recipes-extended/diffutils/diffutils-2.8.1/autoconf270.patch
@@ -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
diff --git a/recipes-extended/diffutils/diffutils_2.8.1.bb b/recipes-extended/diffutils/diffutils_2.8.1.bb
index 7c43c4b..88d189d 100644
--- a/recipes-extended/diffutils/diffutils_2.8.1.bb
+++ b/recipes-extended/diffutils/diffutils_2.8.1.bb
@@ -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"