summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox-1.6.0-echo.patch11
-rw-r--r--package/busybox/busybox-1.6.0-hushdep.patch32
2 files changed, 43 insertions, 0 deletions
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 000000000..74d3c2cac
--- /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 000000000..252267f44
--- /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.
+