diff options
author | 2005-03-09 12:12:15 +0000 | |
---|---|---|
committer | 2005-03-09 12:12:15 +0000 | |
commit | 53158bf9dd8d600af3d63ce7346e4a1caded3376 (patch) | |
tree | 4c6a07a704e13e35b42e8bffea80808915b5d569 /net-analyzer/scanssh/files | |
parent | added rules needed by >=ipsec-tools-0.5 (diff) | |
download | gentoo-2-53158bf9dd8d600af3d63ce7346e4a1caded3376.tar.gz gentoo-2-53158bf9dd8d600af3d63ce7346e4a1caded3376.tar.bz2 gentoo-2-53158bf9dd8d600af3d63ce7346e4a1caded3376.zip |
Version bump for bug 84536; added patch for both 2.0 and 2.1 to fix some compiler warnings. Also fixed deps.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/scanssh/files')
-rw-r--r-- | net-analyzer/scanssh/files/digest-scanssh-2.1 | 1 | ||||
-rw-r--r-- | net-analyzer/scanssh/files/scanssh-2.0-fix-warnings.diff | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/net-analyzer/scanssh/files/digest-scanssh-2.1 b/net-analyzer/scanssh/files/digest-scanssh-2.1 new file mode 100644 index 000000000000..5761a2091aac --- /dev/null +++ b/net-analyzer/scanssh/files/digest-scanssh-2.1 @@ -0,0 +1 @@ +MD5 9fab4253b56b2d15367d4872b370cdcb scanssh-2.1.tar.gz 111481 diff --git a/net-analyzer/scanssh/files/scanssh-2.0-fix-warnings.diff b/net-analyzer/scanssh/files/scanssh-2.0-fix-warnings.diff new file mode 100644 index 000000000000..bda9bccbf189 --- /dev/null +++ b/net-analyzer/scanssh/files/scanssh-2.0-fix-warnings.diff @@ -0,0 +1,66 @@ +diff --exclude='*~' -urN scanssh-2.1.orig/arc4random.c scanssh-2.1/arc4random.c +--- scanssh-2.1.orig/arc4random.c 2005-03-08 21:20:11.117873024 -0500 ++++ scanssh-2.1/arc4random.c 2005-03-08 21:26:22.265450016 -0500 +@@ -1,5 +1,6 @@ + #include <sys/types.h> + #include <stdlib.h> ++#include <time.h> + + #include "config.h" + +diff --exclude='*~' -urN scanssh-2.1.orig/interface.c scanssh-2.1/interface.c +--- scanssh-2.1.orig/interface.c 2005-03-08 21:20:11.116873176 -0500 ++++ scanssh-2.1/interface.c 2005-03-08 21:33:50.532303096 -0500 +@@ -56,6 +56,13 @@ + + #include "interface.h" + ++#ifndef HAVE_STRLCPY ++ size_t strlcpy(char *, const char *, size_t); ++#endif ++#ifndef HAVE_STRLCAT ++ size_t strlcat(char *, const char *, size_t); ++#endif ++ + /* Prototypes */ + static int pcap_dloff(pcap_t *); + +diff --exclude='*~' -urN scanssh-2.1.orig/md5.c scanssh-2.1/md5.c +--- scanssh-2.1.orig/md5.c 2005-03-08 21:20:11.117873024 -0500 ++++ scanssh-2.1/md5.c 2005-03-08 21:26:53.747663992 -0500 +@@ -23,6 +23,7 @@ + copyright in any changes I have made; this code remains in the + public domain. */ + ++#include <string.h> + #include <sys/types.h> + + #ifdef HAVE_CONFIG_H +diff --exclude='*~' -urN scanssh-2.1.orig/scanssh.c scanssh-2.1/scanssh.c +--- scanssh-2.1.orig/scanssh.c 2005-03-08 21:20:11.124871960 -0500 ++++ scanssh-2.1/scanssh.c 2005-03-08 21:34:08.508570288 -0500 +@@ -78,6 +78,10 @@ + #define DNFPRINTF(y, x) + #endif + ++#ifndef HAVE_STRLCPY ++ size_t strlcpy(char *, const char *, size_t); ++#endif ++ + struct address_node { + TAILQ_ENTRY (address_node) an_next; + +diff --exclude='*~' -urN scanssh-2.1.orig/xmalloc.c scanssh-2.1/xmalloc.c +--- scanssh-2.1.orig/xmalloc.c 2005-03-08 21:20:11.120872568 -0500 ++++ scanssh-2.1/xmalloc.c 2005-03-08 21:34:26.479838240 -0500 +@@ -20,6 +20,10 @@ + + #include "config.h" + ++#ifndef HAVE_STRLCPY ++ size_t strlcpy(char *, const char *, size_t); ++#endif ++ + void * + xmalloc(size_t size) + { |