summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-05-28 12:56:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-29 17:53:40 +0100
commit70400ff9bb7555e7295aab63dfe499ef01204092 (patch)
tree4bc921439aa6a29c2ad0eebd536fbcc0c0209ebb /meta/recipes-core/readline
parent41ccbfc2913e4673acddbe0ba02a1e209c99264e (diff)
downloadpoky-70400ff9bb7555e7295aab63dfe499ef01204092.tar.gz
readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in
readline maintains config.h.in by hand but several symbols are incorrect. Fix these so that the test results are reflected in config.h. (From OE-Core rev: bc0d0c71eca48be05490209261b88b1f92bcf847) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/readline')
-rw-r--r--meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch34
-rw-r--r--meta/recipes-core/readline/readline.inc1
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch
new file mode 100644
index 0000000000..cfff03c0f8
--- /dev/null
+++ b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch
@@ -0,0 +1,34 @@
1Fix the names of the STRUCT_DIRENT_D symbols to match the names used by both
2configure and the source code.
3
4Upstream-Status: Submitted (http://lists.gnu.org/archive/html/bug-readline/2014-05/msg00008.html)
5Signed-off-by: Ross Burton <ross.burton@intel.com>
6
7From e48656811550774892fd4e0f4b3c7d418422da52 Mon Sep 17 00:00:00 2001
8From: Ross Burton <ross.burton@intel.com>
9Date: Tue, 27 May 2014 22:32:31 +0100
10Subject: [PATCH] config.h.in: fix names of STRUCT_DIRENT_D symbols
11
12---
13 config.h.in | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/config.h.in b/config.h.in
17index a67e43e..a42acc5 100644
18--- a/config.h.in
19+++ b/config.h.in
20@@ -244,9 +244,9 @@
21
22 #undef HAVE_GETPW_DECLS
23
24-#undef STRUCT_DIRENT_HAS_D_INO
25+#undef HAVE_STRUCT_DIRENT_D_INO
26
27-#undef STRUCT_DIRENT_HAS_D_FILENO
28+#undef HAVE_STRUCT_DIRENT_D_FILENO
29
30 #undef HAVE_BSD_SIGNALS
31
32--
331.7.10.4
34
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 9d78aa9702..c33e91a550 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -13,6 +13,7 @@ DEPENDS += "ncurses"
13 13
14SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \ 14SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
15 file://configure-fix.patch \ 15 file://configure-fix.patch \
16 file://config-dirent-symbols.patch \
16 file://norpath.patch \ 17 file://norpath.patch \
17 file://acinclude.m4" 18 file://acinclude.m4"
18 19