finally move buildroot-ng to trunk
[openwrt/staging/florian.git] / package / busybox / patches / 001-wget_long_options.patch
1 Index: busybox-CURRENT/networking/wget.c
2 ===================================================================
3 --- busybox-CURRENT/networking/wget.c (revision 15806)
4 +++ busybox-CURRENT/networking/wget.c (working copy)
5 @@ -133,7 +133,7 @@
6 #define WGET_OPT_PREFIX 32
7 #define WGET_OPT_PROXY 64
8
9 -#if ENABLE_WGET_LONG_OPTIONS
10 +#if CONFIG_FEATURE_WGET_LONG_OPTIONS
11 static const struct option wget_long_options[] = {
12 { "continue", 0, NULL, 'c' },
13 { "quiet", 0, NULL, 'q' },
14 @@ -177,7 +177,7 @@
15 * Crack command line.
16 */
17 bb_opt_complementally = "-1:\203::";
18 -#if ENABLE_WGET_LONG_OPTIONS
19 +#if CONFIG_FEATURE_WGET_LONG_OPTIONS
20 bb_applet_long_options = wget_long_options;
21 #endif
22 opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:",