[package] busybox: disable httpd applet
[openwrt/svn-archive/archive.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 6fb7c128670648694b3ad9303902b0b7f0c96990..617679eab380cf49f830b0efdd5c90456c83506a 100644 (file)
@@ -1,13 +1,11 @@
-Index: busybox-1.7.2/networking/wget.c
-===================================================================
---- busybox-1.7.2.orig/networking/wget.c       2007-10-30 15:35:00.000000000 -0500
-+++ busybox-1.7.2/networking/wget.c    2007-10-30 15:35:00.000000000 -0500
-@@ -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
+@@ -653,7 +653,7 @@ int wget_main(int argc UNUSED_PARAM, cha
+               // "tries\0"            Required_argument "t"
+               // "timeout\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"
+               "post-data\0"        Required_argument "\xfd"
                ;
-       applet_long_options = wget_longopts;