[oe-commits] Ross Burton : readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in
git at git.openembedded.org
git at git.openembedded.org
Thu May 29 16:53:59 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: bc0d0c71eca48be05490209261b88b1f92bcf847
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bc0d0c71eca48be05490209261b88b1f92bcf847
Author: Ross Burton <ross.burton at intel.com>
Date: Wed May 28 12:56:23 2014 +0100
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.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../readline-6.3/config-dirent-symbols.patch | 34 ++++++++++++++++++++++
meta/recipes-core/readline/readline.inc | 1 +
2 files changed, 35 insertions(+)
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 0000000..cfff03c
--- /dev/null
+++ b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch
@@ -0,0 +1,34 @@
+Fix the names of the STRUCT_DIRENT_D symbols to match the names used by both
+configure and the source code.
+
+Upstream-Status: Submitted (http://lists.gnu.org/archive/html/bug-readline/2014-05/msg00008.html)
+Signed-off-by: Ross Burton <ross.burton at intel.com>
+
+From e48656811550774892fd4e0f4b3c7d418422da52 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton at intel.com>
+Date: Tue, 27 May 2014 22:32:31 +0100
+Subject: [PATCH] config.h.in: fix names of STRUCT_DIRENT_D symbols
+
+---
+ config.h.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/config.h.in b/config.h.in
+index a67e43e..a42acc5 100644
+--- a/config.h.in
++++ b/config.h.in
+@@ -244,9 +244,9 @@
+
+ #undef HAVE_GETPW_DECLS
+
+-#undef STRUCT_DIRENT_HAS_D_INO
++#undef HAVE_STRUCT_DIRENT_D_INO
+
+-#undef STRUCT_DIRENT_HAS_D_FILENO
++#undef HAVE_STRUCT_DIRENT_D_FILENO
+
+ #undef HAVE_BSD_SIGNALS
+
+--
+1.7.10.4
+
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 9d78aa9..c33e91a 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -13,6 +13,7 @@ DEPENDS += "ncurses"
SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
file://configure-fix.patch \
+ file://config-dirent-symbols.patch \
file://norpath.patch \
file://acinclude.m4"
More information about the Openembedded-commits
mailing list