summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-08-18 00:00:15 +0000
committerNicolas Thill <nico@openwrt.org>2006-08-18 00:00:15 +0000
commit6c2792c792291d843b419a7b5d9a12a10de61293 (patch)
tree771c4bb811c25f7d556541eb30da9bee246dadbb
parentffa5ce367c3596da852e74b5c6e427ec19a28fe5 (diff)
downloadmtk-20170518-6c2792c792291d843b419a7b5d9a12a10de61293.zip
mtk-20170518-6c2792c792291d843b419a7b5d9a12a10de61293.tar.gz
mtk-20170518-6c2792c792291d843b419a7b5d9a12a10de61293.tar.bz2
fix wget long options bug (closes: #682)
SVN-Revision: 4586
-rw-r--r--openwrt/package/busybox/patches/001-wget_long_options.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/busybox/patches/001-wget_long_options.patch b/openwrt/package/busybox/patches/001-wget_long_options.patch
new file mode 100644
index 0000000..9538427
--- /dev/null
+++ b/openwrt/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:",