[package] busybox: fix build error in insmod applet on 2.4 (closes: #5220)
[openwrt.git] / package / busybox / patches / 110-wget_getopt_fix.patch
index 657f83a..187603d 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
+@@ -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"
                ;
-       applet_long_options = wget_longopts;
+ #endif
This page took 0.027291 seconds and 4 git commands to generate.