summaryrefslogtreecommitdiff
path: root/net-misc/wput/files/wput-0.6.2-fno-common.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /net-misc/wput/files/wput-0.6.2-fno-common.patch
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'net-misc/wput/files/wput-0.6.2-fno-common.patch')
-rw-r--r--net-misc/wput/files/wput-0.6.2-fno-common.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/wput/files/wput-0.6.2-fno-common.patch b/net-misc/wput/files/wput-0.6.2-fno-common.patch
new file mode 100644
index 000000000000..f188141aa87b
--- /dev/null
+++ b/net-misc/wput/files/wput-0.6.2-fno-common.patch
@@ -0,0 +1,25 @@
+https://sources.debian.org/patches/wput/0.6.2+git20130413-9/single-declaration.patch/
+https://bugs.gentoo.org/706954
+--- a/src/wput.h
++++ b/src/wput.h
+@@ -140,7 +140,9 @@
+
+ unsigned short int retry_interval;
+ unsigned int speed_limit;
+-} opt;
++};
++
++extern struct global_options opt;
+
+ extern _fsession * fsession_queue_entry_point;
+ extern char * email_address;
+--- a/src/wput.c
++++ b/src/wput.c
+@@ -55,6 +55,7 @@
+ #include "utils.h"
+
+ extern char *optarg;
++struct global_options opt;
+
+ #ifdef WIN32
+ const static char * version = "0.6.2-w32";