diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 06:16:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-06-15 06:16:31 +0000 |
commit | 77e16c6f7647adab057634b43d0803c3bde6ad41 (patch) | |
tree | b1eb350c490b743e6e82755bba84f94f6a854f64 /security/nbaudit/files/patch-includes.h | |
parent | . In the cases where we need gtar, its an EXTRACT_DEPENDS, not a (diff) |
Fix compiler warnings to allow this to run on sparc64.
Bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=83002
Diffstat (limited to 'security/nbaudit/files/patch-includes.h')
-rw-r--r-- | security/nbaudit/files/patch-includes.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/security/nbaudit/files/patch-includes.h b/security/nbaudit/files/patch-includes.h new file mode 100644 index 000000000000..5fd3874b4e48 --- /dev/null +++ b/security/nbaudit/files/patch-includes.h @@ -0,0 +1,28 @@ +diff -ru ../../work/nat10/includes.h ./includes.h +--- includes.h.orig Sun Feb 16 19:18:04 1997 ++++ includes.h Sat Jun 14 23:10:49 2003 +@@ -466,13 +466,15 @@ + + + #ifdef FreeBSD +-#include <strings.h> ++#include <string.h> + #include <netinet/tcp.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#include <dirent.h> + #define SIGNAL_CAST (void (*)()) +-#define USE_DIRECT + #define REPLACE_INNETGR ++#define HAVE_MEMMOVE ++#define HAVE_BZERO + #endif + + +@@ -1121,3 +1123,6 @@ + #endif + + #endif ++ ++char * Get_Hostbyaddr (struct in_addr ip); ++struct ipstr *parse_ip(char *); |