diff options
author | jlam <jlam> | 2007-09-06 16:07:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-09-06 16:07:51 +0000 |
commit | 1c38fb62eee44a64d49060d4cc77178c08b07c5a (patch) | |
tree | 41fcc875d245c7b1cd81794c02b4ca956a4c6cc1 /security | |
parent | 93f42aebb2673f24f67d2cdc4f6e410f631a3cfc (diff) | |
download | pkgsrc-1c38fb62eee44a64d49060d4cc77178c08b07c5a.tar.gz |
Put variable declarations at beginning of a block to work with older
compilers.
Diffstat (limited to 'security')
-rw-r--r-- | security/dropbear/distinfo | 3 | ||||
-rw-r--r-- | security/dropbear/patches/patch-af | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo index 3d2c7ebcaee..4ef162a2d68 100644 --- a/security/dropbear/distinfo +++ b/security/dropbear/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2007/09/05 21:08:06 drochner Exp $ +$NetBSD: distinfo,v 1.15 2007/09/06 16:07:51 jlam Exp $ SHA1 (dropbear-0.50.tar.gz) = 6f56bc88bc29a99c58fe85c98a60249b9782ef36 RMD160 (dropbear-0.50.tar.gz) = c5e643cf068d6cdc19f5da8318ec90e0a0dfb0c3 @@ -6,3 +6,4 @@ Size (dropbear-0.50.tar.gz) = 1790358 bytes SHA1 (patch-aa) = 3246fce39551e97f0b9ecd3397479ea2f3e22abd SHA1 (patch-ab) = 2eb7675e013edbe80b0e456dbaac310f1bb6cbbc SHA1 (patch-ac) = 69b1349bb47ad6a6ae02096f1ebde87a1461dd9b +SHA1 (patch-af) = 356a8ac535d2d08ff9fd9fe7e84ae58181ce32a0 diff --git a/security/dropbear/patches/patch-af b/security/dropbear/patches/patch-af new file mode 100644 index 00000000000..29190f13506 --- /dev/null +++ b/security/dropbear/patches/patch-af @@ -0,0 +1,23 @@ +$NetBSD: patch-af,v 1.1 2007/09/06 16:07:51 jlam Exp $ + +--- cli-runopts.c.orig 2007-08-08 11:39:36.000000000 -0400 ++++ cli-runopts.c +@@ -89,6 +89,9 @@ void cli_getopts(int argc, char ** argv) + #endif + char* dummy = NULL; /* Not used for anything real */ + ++ char* recv_window_arg = NULL; ++ char* keepalive_arg = NULL; ++ + /* see printhelp() for options */ + cli_opts.progname = argv[0]; + cli_opts.remotehost = NULL; +@@ -114,8 +117,6 @@ void cli_getopts(int argc, char ** argv) + opts.ipv6 = 1; + */ + opts.recv_window = DEFAULT_RECV_WINDOW; +- char* recv_window_arg = NULL; +- char* keepalive_arg = NULL; + + /* Iterate all the arguments */ + for (i = 1; i < (unsigned int)argc; i++) { |