summaryrefslogtreecommitdiffstats
path: root/package/bash/bash-000-mkbuiltins-cross.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-02-27 17:58:59 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 14:47:17 +0100
commit3f5061a02df6e2c8166840241fa29c9ca52354f9 (patch)
treeecc56dd8e85855c1829e92295a41d9eb96aa56ac /package/bash/bash-000-mkbuiltins-cross.patch
parent6a4d524dc28156434648e74f3cc6072fb06b98d3 (diff)
downloadbuildroot-3f5061a02df6e2c8166840241fa29c9ca52354f9.tar.gz
buildroot-3f5061a02df6e2c8166840241fa29c9ca52354f9.zip
bash: bump to version 4.3
Switch to external readline support to potentially reduce target size. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bash/bash-000-mkbuiltins-cross.patch')
-rw-r--r--package/bash/bash-000-mkbuiltins-cross.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/bash/bash-000-mkbuiltins-cross.patch b/package/bash/bash-000-mkbuiltins-cross.patch
new file mode 100644
index 0000000000..4252d53870
--- /dev/null
+++ b/package/bash/bash-000-mkbuiltins-cross.patch
@@ -0,0 +1,31 @@
+Let mkbuiltins use config.h even if cross compiling
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ builtins/mkbuiltins.c | 9 ---------
+ 1 files changed, 0 insertions(+), 9 deletions(-)
+
+diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c
+index cdd45e4..1349093 100644
+--- a/builtins/mkbuiltins.c
++++ b/builtins/mkbuiltins.c
+@@ -19,16 +19,7 @@
+ along with Bash. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+-#if !defined (CROSS_COMPILING)
+ # include <config.h>
+-#else /* CROSS_COMPILING */
+-/* A conservative set of defines based on POSIX/SUS3/XPG6 */
+-# define HAVE_UNISTD_H
+-# define HAVE_STRING_H
+-# define HAVE_STDLIB_H
+-
+-# define HAVE_RENAME
+-#endif /* CROSS_COMPILING */
+
+ #if defined (HAVE_UNISTD_H)
+ # ifdef _MINIX
+--
+1.7.2.2
+
OpenPOWER on IntegriCloud