diff options
author | julian <julian@FreeBSD.org> | 1998-01-14 04:26:20 +0800 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-01-14 04:26:20 +0800 |
commit | e512bb154d3f4da28c086e6b844adb9b52e79bf5 (patch) | |
tree | 348a8b8d23a41db7a9e77cbbb4546b158cda4825 /security | |
parent | 3d5f00841f13490c1310702a75e5c91bdd9767ab (diff) | |
download | freebsd-ports-gnome-e512bb154d3f4da28c086e6b844adb9b52e79bf5.tar.gz freebsd-ports-gnome-e512bb154d3f4da28c086e6b844adb9b52e79bf5.tar.zst freebsd-ports-gnome-e512bb154d3f4da28c086e6b844adb9b52e79bf5.zip |
Submitted by: archie@whistle.com
make this compile under FreeBSD 3.x
Diffstat (limited to 'security')
-rw-r--r-- | security/skip/files/patch-bg | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/security/skip/files/patch-bg b/security/skip/files/patch-bg index 537173a5c80c..0560cf4e73f5 100644 --- a/security/skip/files/patch-bg +++ b/security/skip/files/patch-bg @@ -1,6 +1,6 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skipsrc-1.0/skip/freebsd/skip_os.h --- skipsrc-1.0.orig/skip/freebsd/skip_os.h Fri Oct 25 13:12:43 1996 -+++ skipsrc-1.0/skip/freebsd/skip_os.h Mon Dec 15 17:44:31 1997 ++++ skipsrc-1.0/skip/freebsd/skip_os.h Tue Jan 13 11:19:16 1998 @@ -54,7 +54,6 @@ #ifndef KERNEL #include <stdio.h> @@ -22,7 +22,16 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #include <sys/types.h> #include <sys/errno.h> #include <sys/time.h> -@@ -83,10 +88,14 @@ +@@ -77,16 +82,23 @@ + #include <sys/malloc.h> + #include <sys/stat.h> + #include <sys/socket.h> ++#if __FreeBSD_version >= 300000 ++#include <sys/socketvar.h> ++#endif + #include <sys/syslog.h> + #include <sys/param.h> + #include <sys/uio.h> #include <sys/file.h> #include <sys/sockio.h> #include <sys/wait.h> @@ -37,7 +46,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #include <netinet/in_systm.h> #endif #include <netinet/in.h> -@@ -94,8 +103,8 @@ +@@ -94,8 +106,8 @@ #include <netinet/ip.h> #include <netinet/udp.h> #include <netinet/in_var.h> @@ -47,7 +56,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips /* * Basic required types and constants -@@ -116,6 +125,7 @@ +@@ -116,6 +128,7 @@ #include <sys/sysent.h> #include <sys/exec.h> #include <sys/lkm.h> @@ -55,7 +64,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #include <sys/protosw.h> #include <net/route.h> #include <sys/kernel.h> -@@ -123,6 +133,7 @@ +@@ -123,6 +136,7 @@ #include <net/netisr.h> #include <sys/proc.h> #include <sys/device.h> @@ -63,7 +72,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #define PANIC(s) panic(s) -@@ -131,11 +142,17 @@ +@@ -131,11 +145,17 @@ */ #define SYSMEM_ALLOC(size) malloc((u_long)size, M_PCB, M_NOWAIT) #define SYSMEM_FREE(m, n) free(m, M_PCB) @@ -84,7 +93,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #define ALIGNED(x) (((unsigned int)(x)&(skip_alignment - 1)) == 0) -@@ -205,26 +222,21 @@ +@@ -205,26 +225,21 @@ } /* @@ -121,7 +130,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #else /* KERNEL */ /* -@@ -251,37 +263,12 @@ +@@ -251,37 +266,12 @@ #endif #define STATIC @@ -161,7 +170,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h skips #define KEYMGR "/dev/skip_key" /* -@@ -306,12 +293,6 @@ +@@ -306,12 +296,6 @@ /* General purpose */ typedef unsigned char byte; |