summaryrefslogtreecommitdiff
path: root/recipes/busybox/busybox-static-1.2.1/wget-long-options.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/busybox/busybox-static-1.2.1/wget-long-options.patch')
-rw-r--r--recipes/busybox/busybox-static-1.2.1/wget-long-options.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-static-1.2.1/wget-long-options.patch b/recipes/busybox/busybox-static-1.2.1/wget-long-options.patch
new file mode 100644
index 0000000000..3c5920a3cb
--- /dev/null
+++ b/recipes/busybox/busybox-static-1.2.1/wget-long-options.patch
@@ -0,0 +1,20 @@
+--- busybox-1.2.1.orig/networking/wget.c
++++ busybox-1.2.1/networking/wget.c
+@@ -136,7 +136,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' },
+@@ -180,7 +180,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:",