[package] busybox: fix build error in insmod applet on 2.4 (closes: #5220)
[openwrt.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 8536fce..187603d 100644 (file)
@@ -1,13 +1,11 @@
-diff -ur busybox.old/networking/wget.c busybox.dev/networking/wget.c
---- busybox.old/networking/wget.c      2007-01-27 15:44:02.235530528 +0100
-+++ busybox.dev/networking/wget.c      2007-01-27 15:53:26.549741728 +0100
-@@ -136,7 +136,7 @@
-               { "directory-prefix", required_argument, NULL, 'P' },
-               { "proxy",            required_argument, NULL, 'Y' },
-               { "user-agent",       required_argument, NULL, 'U' },
--              { "passive-ftp",      no_argument, NULL, 0xff },
-+              { "passive-ftp",      no_argument, NULL, 0xfd },
-               { "header",           required_argument, NULL, 0xfe },
-               { 0, 0, 0, 0 }
-       };
-Only in busybox.dev/networking: .wget.c.swp
+--- a/networking/wget.c
++++ b/networking/wget.c
+@@ -443,7 +443,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"
+               ;
+ #endif
This page took 0.021248 seconds and 4 git commands to generate.