X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1406fcdcc0448a019a00f8af0f90ce252fe1adc7..5ea7603e04d467c0b4a1be3ba53624b3c12b6bfc:/package/busybox/patches/110-wget_getopt_fix.patch diff --git a/package/busybox/patches/110-wget_getopt_fix.patch b/package/busybox/patches/110-wget_getopt_fix.patch index 17b302af6..fd530df9d 100644 --- a/package/busybox/patches/110-wget_getopt_fix.patch +++ b/package/busybox/patches/110-wget_getopt_fix.patch @@ -1,11 +1,13 @@ ---- busybox.old/networking/wget.c 2007-01-26 21:00:22.421900104 +0100 -+++ busybox.dev/networking/wget.c 2007-01-26 21:00:30.688643368 +0100 -@@ -142,7 +142,7 @@ +Index: busybox-1.4.2/networking/wget.c +=================================================================== +--- busybox-1.4.2.orig/networking/wget.c 2007-06-04 13:21:32.408049896 +0200 ++++ busybox-1.4.2/networking/wget.c 2007-06-04 13:21:32.681008400 +0200 +@@ -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 } }; - applet_long_options = wget_long_options; - #endif -- opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::"); -+ opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::\xff"); - opt = getopt32(argc, argv, "cqO:P:Y:U:", - &fname_out, &dir_prefix, - &proxy_flag, &user_agent