summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-29 10:04:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-03 21:49:04 +0000
commit692854097233e8c22e3e02307b614267263cf981 (patch)
tree34c62c676fce0f87dfc5de6b6854f5ad097ce41a
parent6e8e969590a22a729db1ff342de57f2fd5d02d43 (diff)
downloadmeta-gplv2-692854097233e8c22e3e02307b614267263cf981.tar.gz
grep: Update to work with autoconf 2.70
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-extended/grep/grep-2.5.1a/autoconf270.patch19
-rw-r--r--recipes-extended/grep/grep_2.5.1a.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/recipes-extended/grep/grep-2.5.1a/autoconf270.patch b/recipes-extended/grep/grep-2.5.1a/autoconf270.patch
new file mode 100644
index 0000000..954ae14
--- /dev/null
+++ b/recipes-extended/grep/grep-2.5.1a/autoconf270.patch
@@ -0,0 +1,19 @@
1Update to work with autoconf 2.71
2
3The script needs CPP so add the appropriate macro.
4
5Upstream-Status: Inappropriate [needed for old GPLv2 version only]
6RP - 2021/1/28
7
8Index: grep-2.5.1a/configure.in
9===================================================================
10--- grep-2.5.1a.orig/configure.in
11+++ grep-2.5.1a/configure.in
12@@ -27,6 +27,7 @@ AC_PROG_AWK
13 AC_PROG_CC
14 AC_PROG_INSTALL
15 AC_PROG_RANLIB
16+AC_PROG_CPP
17
18 dnl Checks for typedefs, structures, and compiler characteristics.
19 AC_SYS_LARGEFILE
diff --git a/recipes-extended/grep/grep_2.5.1a.bb b/recipes-extended/grep/grep_2.5.1a.bb
index d3b4ddc..5445c7e 100644
--- a/recipes-extended/grep/grep_2.5.1a.bb
+++ b/recipes-extended/grep/grep_2.5.1a.bb
@@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \
18 file://grep-egrep-fgrep-Fix-LSB-NG-cases.patch \ 18 file://grep-egrep-fgrep-Fix-LSB-NG-cases.patch \
19 file://search-fix-compilation-error-with-security-flags-ena.patch \ 19 file://search-fix-compilation-error-with-security-flags-ena.patch \
20 file://0001-Fix-builds-with-gettext-0.20.patch \ 20 file://0001-Fix-builds-with-gettext-0.20.patch \
21 file://autoconf270.patch \
21 " 22 "
22 23
23SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c" 24SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c"