diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-08-18 00:00:15 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-08-18 00:00:15 +0000 |
commit | fc13c22f91e2346090d2ab6b2fbcd7814021844e (patch) | |
tree | 89011790bf9985b0cdd37666d1c6a078bb1176d0 | |
parent | 05366273b205e9db533785c88bef1892b27509c3 (diff) | |
download | master-187ad058-fc13c22f91e2346090d2ab6b2fbcd7814021844e.tar.gz master-187ad058-fc13c22f91e2346090d2ab6b2fbcd7814021844e.tar.bz2 master-187ad058-fc13c22f91e2346090d2ab6b2fbcd7814021844e.zip |
fix wget long options bug (closes: #682)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4586 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/busybox/patches/001-wget_long_options.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/busybox/patches/001-wget_long_options.patch b/package/busybox/patches/001-wget_long_options.patch new file mode 100644 index 0000000000..9538427e3e --- /dev/null +++ b/package/busybox/patches/001-wget_long_options.patch @@ -0,0 +1,22 @@ +Index: busybox-CURRENT/networking/wget.c +=================================================================== +--- busybox-CURRENT/networking/wget.c (revision 15806) ++++ busybox-CURRENT/networking/wget.c (working copy) +@@ -133,7 +133,7 @@ + #define WGET_OPT_PREFIX 32 + #define WGET_OPT_PROXY 64 + +-#if ENABLE_WGET_LONG_OPTIONS ++#if CONFIG_FEATURE_WGET_LONG_OPTIONS + static const struct option wget_long_options[] = { + { "continue", 0, NULL, 'c' }, + { "quiet", 0, NULL, 'q' }, +@@ -177,7 +177,7 @@ + * Crack command line. + */ + bb_opt_complementally = "-1:\203::"; +-#if ENABLE_WGET_LONG_OPTIONS ++#if CONFIG_FEATURE_WGET_LONG_OPTIONS + bb_applet_long_options = wget_long_options; + #endif + opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:", |