summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-12-17 16:59:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-18 00:08:29 +0000
commit1e8d51d0363fde36b97cd7d68d07d67d411630b9 (patch)
tree2fe5bf275687f30a8ba0c915f1fa001516ecc858 /recipes-extended
parentb70edeaaa1696e5047cf0a27cbdddde2dd608a1d (diff)
downloadmeta-gplv2-1e8d51d0363fde36b97cd7d68d07d67d411630b9.tar.gz
sed: fix builds with gettext 0.20.x
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/sed/sed-4.1.2/0001-Fix-builds-with-gettext-0.20.patch38
-rw-r--r--recipes-extended/sed/sed_4.1.2.bb4
2 files changed, 41 insertions, 1 deletions
diff --git a/recipes-extended/sed/sed-4.1.2/0001-Fix-builds-with-gettext-0.20.patch b/recipes-extended/sed/sed-4.1.2/0001-Fix-builds-with-gettext-0.20.patch
new file mode 100644
index 0000000..e366b5a
--- /dev/null
+++ b/recipes-extended/sed/sed-4.1.2/0001-Fix-builds-with-gettext-0.20.patch
@@ -0,0 +1,38 @@
1From 2792bccbfd41427a79edd462906aba78144b8c6a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 Dec 2019 16:40:58 +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.ac | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/Makefile.am b/Makefile.am
14index f0aaa7f..1ebc805 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -6,7 +6,7 @@ ACLOCAL_AMFLAGS = -I config
18
19 PACKAGE = sed
20
21-SUBDIRS = intl lib po sed doc testsuite
22+SUBDIRS = lib po sed testsuite
23
24 noinst_DATA = bootstrap.sh
25 noinst_HEADERS = basicdefs.h
26diff --git a/configure.ac b/configure.ac
27index e08c9a3..df20044 100644
28--- a/configure.ac
29+++ b/configure.ac
30@@ -130,7 +130,7 @@ AM_CONDITIONAL(TEXI2HTML_HTML, test "x$enable_html" = xtexi2html)
31
32 ALL_LINGUAS="af ca cs da de el eo es et fi fr ga gl he hr hu id it ja ko nl pl pt_BR ro ru sk sl sr sv tr zh_CN"
33 AM_GNU_GETTEXT_VERSION(0.11)
34-AM_GNU_GETTEXT(, need-ngettext)
35+AM_GNU_GETTEXT([external], need-ngettext)
36
37 AC_CONFIG_FILES([bootstrap.sh], chmod +x bootstrap.sh)
38 AC_CONFIG_FILES([Makefile doc/Makefile \
diff --git a/recipes-extended/sed/sed_4.1.2.bb b/recipes-extended/sed/sed_4.1.2.bb
index 40e3a53..4a58442 100644
--- a/recipes-extended/sed/sed_4.1.2.bb
+++ b/recipes-extended/sed/sed_4.1.2.bb
@@ -9,7 +9,9 @@ PR = "r7"
9SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \ 9SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \
10 file://fix_return_type.patch \ 10 file://fix_return_type.patch \
11 file://sed-4.1.2_fix_for_automake-1.12.patch \ 11 file://sed-4.1.2_fix_for_automake-1.12.patch \
12 file://Makevars" 12 file://Makevars \
13 file://0001-Fix-builds-with-gettext-0.20.patch \
14 "
13 15
14SRC_URI[md5sum] = "928f0e06422f414091917401f1a834d0" 16SRC_URI[md5sum] = "928f0e06422f414091917401f1a834d0"
15SRC_URI[sha256sum] = "638e837ba765d5da0a30c98b57c2953cecea96827882f594612acace93ceeeab" 17SRC_URI[sha256sum] = "638e837ba765d5da0a30c98b57c2953cecea96827882f594612acace93ceeeab"