diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 16:59:52 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 16:59:52 +0000 |
commit | 4c971dd91decb800125795bf8197d216baf97c9c (patch) | |
tree | a8db345fd55e7d066702e78505f49a5a43beaf79 /ftp/wput/files/patch-src_wput.h | |
parent | Add a build dependency on GNU as (diff) |
Fix build with -fno-common
While here add license (GPLv2) and strip binary.
Notes
Notes:
svn path=/head/; revision=549609
Diffstat (limited to 'ftp/wput/files/patch-src_wput.h')
-rw-r--r-- | ftp/wput/files/patch-src_wput.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ftp/wput/files/patch-src_wput.h b/ftp/wput/files/patch-src_wput.h new file mode 100644 index 000000000000..11bef1f84709 --- /dev/null +++ b/ftp/wput/files/patch-src_wput.h @@ -0,0 +1,22 @@ +--- 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; |