freebsd-ports/ftp/wput/files/patch-src_wput.h
Stefan Eßer 4c971dd91d Fix build with -fno-common
While here add license (GPLv2) and strip binary.
2020-09-22 16:59:52 +00:00

22 lines
516 B
C

--- src/wput.h.orig 2008-09-27 10:31:23 UTC
+++ src/wput.h
@@ -79,7 +79,7 @@ typedef struct _password_list {
struct _password_list * next;
} password_list;
-struct global_options {
+typedef struct global_options {
char * sbuf;
int sbuflen;
unsigned int bindaddr;
@@ -140,7 +140,9 @@ struct global_options {
unsigned short int retry_interval;
unsigned int speed_limit;
-} opt;
+} opt_t;
+
+extern opt_t opt;
extern _fsession * fsession_queue_entry_point;
extern char * email_address;