summaryrefslogtreecommitdiff
path: root/security/nbaudit/files/patch-smb.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-smb.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-smb.h')
-rw-r--r--security/nbaudit/files/patch-smb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nbaudit/files/patch-smb.h b/security/nbaudit/files/patch-smb.h
new file mode 100644
index 000000000000..c375b709d8e2
--- /dev/null
+++ b/security/nbaudit/files/patch-smb.h
@@ -0,0 +1,11 @@
+diff -ru ../../work/nat10/smb.h ./smb.h
+--- smb.h.orig Sun Feb 16 19:18:04 1997
++++ smb.h Sat Jun 14 23:02:35 2003
+@@ -733,7 +733,6 @@
+ int get_share_mode_byname(int cnum,char *fname,int *pid);
+ int get_share_mode_by_fnum(int cnum,int fnum,int *pid);
+ BOOL check_file_sharing(int cnum,char *fname);
+-char *StrCpy(char *dest,char *src);
+ int unix_error_packet(char *inbuf,char *outbuf,int def_class,uint32 def_code,int line);
+ time_t make_unix_date2(void *date_ptr);
+ int cached_error_packet(char *inbuf,char *outbuf,int fnum,int line);