summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/readline/files')
-rw-r--r--meta/recipes-core/readline/files/config-dirent-symbols.patch34
-rw-r--r--meta/recipes-core/readline/files/norpath.patch21
2 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/files/config-dirent-symbols.patch b/meta/recipes-core/readline/files/config-dirent-symbols.patch
new file mode 100644
index 0000000000..cfff03c0f8
--- /dev/null
+++ b/meta/recipes-core/readline/files/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/files/norpath.patch b/meta/recipes-core/readline/files/norpath.patch
new file mode 100644
index 0000000000..5d71582b70
--- /dev/null
+++ b/meta/recipes-core/readline/files/norpath.patch
@@ -0,0 +1,21 @@
1This support script ends up hardcoding unnecessary rpaths into the libraries. We
2will search $libdir automatically so this is just wastes space. There may be some
3cases this is necessary but our use cases aren't one of them.
4
5Upstream-Status: Inappropriate
6
7RP 2012/2/23
8
9Index: readline-6.2/support/shobj-conf
10===================================================================
11--- readline-6.2.orig/support/shobj-conf 2012-02-23 11:06:37.193179379 +0000
12+++ readline-6.2/support/shobj-conf 2012-02-23 11:06:50.049178918 +0000
13@@ -114,7 +114,7 @@
14 SHOBJ_LD='${CC}'
15 SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
16
17- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
18+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
19 SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
20 ;;
21