busybox 1.6.0 patches
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 14 Jun 2007 13:09:06 +0000 (13:09 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 14 Jun 2007 13:09:06 +0000 (13:09 -0000)
package/busybox/busybox-1.6.0-echo.patch [new file with mode: 0644]
package/busybox/busybox-1.6.0-hushdep.patch [new file with mode: 0644]

diff --git a/package/busybox/busybox-1.6.0-echo.patch b/package/busybox/busybox-1.6.0-echo.patch
new file mode 100644 (file)
index 0000000..74d3c2c
--- /dev/null
@@ -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 (file)
index 0000000..252267f
--- /dev/null
@@ -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.