diff options
author | 2010-09-15 01:22:16 +0000 | |
---|---|---|
committer | 2010-09-15 01:22:16 +0000 | |
commit | 04a17a208e67e43c5a284c5584db61df7d33c07c (patch) | |
tree | 4afb84913e0ce8db6e6119cb22c4a23b7e7b4604 /net-analyzer/nbtscan/files | |
parent | Version bump with Python 2 restriction (diff) | |
download | gentoo-2-04a17a208e67e43c5a284c5584db61df7d33c07c.tar.gz gentoo-2-04a17a208e67e43c5a284c5584db61df7d33c07c.tar.bz2 gentoo-2-04a17a208e67e43c5a284c5584db61df7d33c07c.zip |
Respect LDFLAGS (bug #337309). Fix some missing includes/declarations.
(Portage version: 2.2_rc81/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/nbtscan/files')
-rw-r--r-- | net-analyzer/nbtscan/files/nbtscan-1.5.1-includes-declarations.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-analyzer/nbtscan/files/nbtscan-1.5.1-includes-declarations.patch b/net-analyzer/nbtscan/files/nbtscan-1.5.1-includes-declarations.patch new file mode 100644 index 000000000000..a585d4495fb5 --- /dev/null +++ b/net-analyzer/nbtscan/files/nbtscan-1.5.1-includes-declarations.patch @@ -0,0 +1,42 @@ +--- a/list.h ++++ b/list.h +@@ -19,3 +19,5 @@ + int compare(struct list_item* item1, struct list_item* item2); + + int insert(struct list* lst, unsigned long content); ++ ++int in_list(struct list* lst, unsigned long content); +--- a/nbtscan.c ++++ b/nbtscan.c +@@ -5,6 +5,8 @@ + #include <stdlib.h> + #include <sys/time.h> + #include <string.h> ++#include <ctype.h> ++#include <unistd.h> + #if HAVE_STDINT_H + #include <stdint.h> + #endif +--- a/statusq.h ++++ b/statusq.h +@@ -103,4 +103,10 @@ + char* service_name; + } nb_service_t ; + ++char* getnbservicename(my_uint8_t service, int unique, char* name); ++ ++struct nb_host_info* parse_response(char* buff, int buffsize); ++ ++int send_query(int sock, struct in_addr dest_addr, my_uint32_t rtt_base); ++ + #endif /* STATUSQ_H */ +--- a/statusq.c ++++ b/statusq.c +@@ -29,6 +29,7 @@ + #include <sys/time.h> + #include "statusq.h" + #include <string.h> ++#include <ctype.h> + #include <stdio.h> + #include <stddef.h> + #include "errors.h" |