From 12958f2d6f1ff3fd50a5b9591d88b6174ae76fb3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 14 Jun 2007 13:09:06 +0000 Subject: [PATCH] busybox 1.6.0 patches --- package/busybox/busybox-1.6.0-echo.patch | 11 +++++++ package/busybox/busybox-1.6.0-hushdep.patch | 32 +++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 package/busybox/busybox-1.6.0-echo.patch create mode 100644 package/busybox/busybox-1.6.0-hushdep.patch diff --git a/package/busybox/busybox-1.6.0-echo.patch b/package/busybox/busybox-1.6.0-echo.patch new file mode 100644 index 0000000000..74d3c2cacb --- /dev/null +++ b/package/busybox/busybox-1.6.0-echo.patch @@ -0,0 +1,11 @@ +--- busybox-1.6.0/coreutils/echo.c Fri Jun 1 13:48:34 2007 ++++ busybox-1.6.0-echo/coreutils/echo.c Wed Jun 6 09:49:18 2007 +@@ -33,7 +33,7 @@ + eflag = '\\', + nflag = 1, /* 1 -- print '\n' */ + }; +- ++argv; ++ arg = ++argv; + #else + const char *p; + char nflag = 1; diff --git a/package/busybox/busybox-1.6.0-hushdep.patch b/package/busybox/busybox-1.6.0-hushdep.patch new file mode 100644 index 0000000000..252267f443 --- /dev/null +++ b/package/busybox/busybox-1.6.0-hushdep.patch @@ -0,0 +1,32 @@ +--- busybox-1.6.0/shell/Config.in Fri Jun 1 13:48:33 2007 ++++ busybox-1.6.0-hushdep/shell/Config.in Sun Jun 10 01:02:47 2007 +@@ -179,6 +179,7 @@ + config HUSH_HELP + bool "help builtin" + default n ++ depends on HUSH + help + Enable help builtin in hush. Code size + ~1 kbyte. + +@@ -206,18 +207,21 @@ + config HUSH_TICK + bool "Process substitution" + default n ++ depends on HUSH + help + Enable process substitution `command` and $(command) in hush. + + config HUSH_IF + bool "Support if/then/elif/else/fi" + default n ++ depends on HUSH + help + Enable if/then/elif/else/fi in hush. + + config HUSH_LOOPS + bool "Support for, while and until loops" + default n ++ depends on HUSH + help + Enable for, while and until loops in hush. + -- 2.30.2