summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-cb
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-01-26 01:55:28 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-01-26 01:55:28 +0000
commita3dd62941f5a3293aace76538667e68ba52e12c4 (patch)
tree9a66dfd2813b90bae64681c94871563c1efd38c6 /security/skip/files/patch-cb
parentWe were forgetting to install "README.FreeBSD+NAT". (diff)
Bash this port until it compiles under -current again.
Notes
Notes: svn path=/head/; revision=25078
Diffstat (limited to '')
-rw-r--r--security/skip/files/patch-cb28
1 files changed, 15 insertions, 13 deletions
diff --git a/security/skip/files/patch-cb b/security/skip/files/patch-cb
index 9e7c4771141e..8fbbde020f90 100644
--- a/security/skip/files/patch-cb
+++ b/security/skip/files/patch-cb
@@ -1,13 +1,15 @@
-diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/keymgrd/t_mem.c work.new/skip/keymgrd/t_mem.c
---- skipsrc-1.0.orig/skip/keymgrd/t_mem.c Fri Oct 25 13:12:55 1996
-+++ work.new/skip/keymgrd/t_mem.c Mon Mar 8 21:33:38 1999
-@@ -45,8 +45,7 @@
- #pragma ident "@(#)t_mem.c 1.2 95/11/23 Sun Microsystems"
-
- #include "global.h"
--#include <memory.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <string.h>
-
- void T_memset(POINTER s, int c, unsigned int n )
+diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/keymgrd/certreq.C work.new/skip/keymgrd/certreq.C
+--- skipsrc-1.0.orig/skip/keymgrd/certreq.C Fri Oct 25 13:12:47 1996
++++ work.new/skip/keymgrd/certreq.C Tue Jan 25 12:56:21 2000
+@@ -120,7 +120,11 @@
+ FD_SET(sock,&f);
+ n=select(sock+1,&f,NULL,NULL,&tv);
+ if (n > 0) {
++#if __FreeBSD_version < 400013
+ int fromlen;
++#else
++ socklen_t fromlen;
++#endif
+ fromlen=sizeof(from);
+ n=recvfrom(sock, (char *)buf,sizeof(buf),0,
+ (sockaddr *)&from,&fromlen);