summaryrefslogtreecommitdiffstats
path: root/package/bash/bash-4.2-mkbuiltins-cross.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-12-01 09:56:54 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-12-01 09:56:54 +0100
commitc3b72c6cd7b82e70cf61f4eac59f176444eaebf1 (patch)
treefe27a5f40b77b826a0bbe7bc2587e4592f74e6c5 /package/bash/bash-4.2-mkbuiltins-cross.patch
parentc29253ef2e2a473e597637b7ada9fb268dfa8767 (diff)
parente3c6b3853ef054efe3ab9800392aec7aa7656dd3 (diff)
downloadbuildroot-novena-c3b72c6cd7b82e70cf61f4eac59f176444eaebf1.tar.gz
buildroot-novena-c3b72c6cd7b82e70cf61f4eac59f176444eaebf1.zip
Merge branch 'next'
And kickoff 2012.02 cycle. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bash/bash-4.2-mkbuiltins-cross.patch')
-rw-r--r--package/bash/bash-4.2-mkbuiltins-cross.patch31
1 files changed, 31 insertions, 0 deletions
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 <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
+