busybox: refresh patches
[openwrt/svn-archive/archive.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 657f83a71acabe4059365c6d6fb2d758a9a906d4..d9ae982a6a228d158dc35a2117728c001357fb30 100644 (file)
@@ -1,13 +1,11 @@
-Index: busybox-1.7.2/networking/wget.c
-===================================================================
---- busybox-1.7.2.orig/networking/wget.c       2007-10-04 14:35:17.057059834 +0200
-+++ busybox-1.7.2/networking/wget.c    2007-10-04 14:35:27.013627222 +0200
-@@ -140,7 +140,7 @@
-               "directory-prefix\0" Required_argument "P"
-               "proxy\0"            Required_argument "Y"
-               "user-agent\0"       Required_argument "U"
+--- a/networking/wget.c
++++ b/networking/wget.c
+@@ -597,7 +597,7 @@ int wget_main(int argc UNUSED_PARAM, cha
+               /* Ignored: */
+               // "tries\0"            Required_argument "t"
+               /* Ignored (we always use PASV): */
 -              "passive-ftp\0"      No_argument       "\xff"
 +              "passive-ftp\0"      No_argument       "\xfd"
                "header\0"           Required_argument "\xfe"
-               ;
-       applet_long_options = wget_longopts;
+               "post-data\0"        Required_argument "\xfd"
+               /* Ignored (we don't do ssl) */