summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/grep/grep-2.5.1a/0001-Fix-builds-with-gettext-0.20.patch38
-rw-r--r--recipes-extended/grep/grep_2.5.1a.bb3
2 files changed, 40 insertions, 1 deletions
diff --git a/recipes-extended/grep/grep-2.5.1a/0001-Fix-builds-with-gettext-0.20.patch b/recipes-extended/grep/grep-2.5.1a/0001-Fix-builds-with-gettext-0.20.patch
new file mode 100644
index 0000000..a8042eb
--- /dev/null
+++ b/recipes-extended/grep/grep-2.5.1a/0001-Fix-builds-with-gettext-0.20.patch
@@ -0,0 +1,38 @@
1From e11be23d694c8bd4e62252874d163d06b6de3117 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 Dec 2019 16:46:05 +0100
4Subject: [PATCH] Fix builds with gettext 0.20
5
6Upstream-Status: Inappropriate [fixing an old version]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 Makefile.am | 2 +-
10 configure.in | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/Makefile.am b/Makefile.am
14index e4b58c4..a851b9d 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -1,7 +1,7 @@
18 ## Process this file with automake to create Makefile.in
19 AUTOMAKE_OPTIONS = no-dependencies
20
21-SUBDIRS = intl po lib doc src tests m4 vms bootstrap
22+SUBDIRS = po lib doc src tests m4 vms bootstrap
23
24 EXTRA_DIST = TODO README README-alpha PATCHES.AC PATCHES.AM
25
26diff --git a/configure.in b/configure.in
27index 2fa6c71..c042a10 100644
28--- a/configure.in
29+++ b/configure.in
30@@ -70,7 +70,7 @@ esac
31
32 dnl I18N feature
33 ALL_LINGUAS="cs de el eo es et fr gl hr id it ja ko nl no pl pt_BR ru sl sv"
34-AM_GNU_GETTEXT
35+AM_GNU_GETTEXT([external])
36
37 dnl DOS file name convention
38 dnl sets HAVE_DOS_FILE_NAMES
diff --git a/recipes-extended/grep/grep_2.5.1a.bb b/recipes-extended/grep/grep_2.5.1a.bb
index b331fee..d3b4ddc 100644
--- a/recipes-extended/grep/grep_2.5.1a.bb
+++ b/recipes-extended/grep/grep_2.5.1a.bb
@@ -17,7 +17,8 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \
17 file://fix-for-texinfo-5.1.patch \ 17 file://fix-for-texinfo-5.1.patch \
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 " 20 file://0001-Fix-builds-with-gettext-0.20.patch \
21 "
21 22
22SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c" 23SRC_URI[md5sum] = "52202fe462770fa6be1bb667bd6cf30c"
23SRC_URI[sha256sum] = "38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92bdd3132" 24SRC_URI[sha256sum] = "38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92bdd3132"