diff options
Diffstat (limited to 'security/skip/files/patch-bd')
-rw-r--r-- | security/skip/files/patch-bd | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/security/skip/files/patch-bd b/security/skip/files/patch-bd index 77494a7d194d..6fc23297ca7f 100644 --- a/security/skip/files/patch-bd +++ b/security/skip/files/patch-bd @@ -1,12 +1,17 @@ -diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/bdcmod/fast_des_cbc/descbc.c work.new/skip/bdcmod/fast_des_cbc/descbc.c ---- skipsrc-1.0.orig/skip/bdcmod/fast_des_cbc/descbc.c Fri Oct 25 13:12:36 1996 -+++ work.new/skip/bdcmod/fast_des_cbc/descbc.c Mon Mar 8 21:33:38 1999 -@@ -424,7 +424,7 @@ - return; - cs=(struct des_cbc_state *)csp; +diff -ur --unidirectional-new-file skipsrc-1.0.orig/libdb/PORT/freebsd2.1/include/compat.h work.new/libdb/PORT/freebsd2.1/include/compat.h +--- skipsrc-1.0.orig/libdb/PORT/freebsd2.1/include/compat.h Fri Oct 25 13:12:04 1996 ++++ work.new/libdb/PORT/freebsd2.1/include/compat.h Mon Jan 24 12:35:38 2000 +@@ -125,13 +125,6 @@ + #define bcopy(a, b, n) memmove(b, a, n) + #endif -- *payload = IPPROTO_ENCAP; -+ *payload = IPPROTO_IPIP; - - ks = (unsigned long *)(cs->keysched); - mod8 = (len & 0x07); /* technically this is (len % 8) */ +-#if defined(BSD) || defined(BSD4_3) +-#define strchr(a, b) index(a, b) +-#define strrchr(a, b) rindex(a, b) +-#define memcmp(a, b, n) bcmp(a, b, n) +-#define memmove(a, b, n) bcopy(b, a, n) +-#endif +- + /* + * 32-bit machine. The db routines are theoretically independent of + * the size of u_shorts and u_longs, but I don't know that anyone has |