From 6ba2d9e28ce3df01efa8dd68bb963311889a4805 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sun, 13 Nov 2011 19:27:50 -0300 Subject: bash: bump to version 4.2 pl10 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/bash/bash-4.2-mkbuiltins-cross.patch | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/bash/bash-4.2-mkbuiltins-cross.patch (limited to 'package/bash/bash-4.2-mkbuiltins-cross.patch') diff --git a/package/bash/bash-4.2-mkbuiltins-cross.patch b/package/bash/bash-4.2-mkbuiltins-cross.patch new file mode 100644 index 000000000..4252d5387 --- /dev/null +++ b/package/bash/bash-4.2-mkbuiltins-cross.patch @@ -0,0 +1,31 @@ +Let mkbuiltins use config.h even if cross compiling + +Signed-off-by: Gustavo Zacarias +--- + 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 . + */ + +-#if !defined (CROSS_COMPILING) + # include +-#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 + -- cgit v1.2.3