summaryrefslogtreecommitdiff
path: root/security/nbaudit/files/patch-includes.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-15 06:16:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-15 06:16:31 +0000
commit77e16c6f7647adab057634b43d0803c3bde6ad41 (patch)
treeb1eb350c490b743e6e82755bba84f94f6a854f64 /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.h28
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 *);