pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/dropbear Put variable declarations at beginni...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8f4b511446d
branches: trunk
changeset: 532990:c8f4b511446d
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Sep 06 16:07:51 2007 +0000
description:
Put variable declarations at beginning of a block to work with older
compilers.
diffstat:
security/dropbear/distinfo | 3 ++-
security/dropbear/patches/patch-af | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r d6bc9e0bb65e -r c8f4b511446d security/dropbear/distinfo
--- a/security/dropbear/distinfo Thu Sep 06 15:55:06 2007 +0000
+++ b/security/dropbear/distinfo Thu Sep 06 16:07:51 2007 +0000
@@ -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 @@
SHA1 (patch-aa) = 3246fce39551e97f0b9ecd3397479ea2f3e22abd
SHA1 (patch-ab) = 2eb7675e013edbe80b0e456dbaac310f1bb6cbbc
SHA1 (patch-ac) = 69b1349bb47ad6a6ae02096f1ebde87a1461dd9b
+SHA1 (patch-af) = 356a8ac535d2d08ff9fd9fe7e84ae58181ce32a0
diff -r d6bc9e0bb65e -r c8f4b511446d security/dropbear/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/dropbear/patches/patch-af Thu Sep 06 16:07:51 2007 +0000
@@ -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++) {
Home |
Main Index |
Thread Index |
Old Index