diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-12-01 12:08:47 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1996-12-01 12:08:47 +0000 |
commit | 05d8e5acba1c67225751e452f0863a603cb62b89 (patch) | |
tree | 347423fc8079c576af12e12de6d51da2713e4af0 /net/cap/files/patch-ad | |
parent | Umgrade to v1.59 - the same as the GNU CD release version. (diff) |
New port: the Columbia AppleTalk Package for UNIX.
Diffstat (limited to 'net/cap/files/patch-ad')
-rw-r--r-- | net/cap/files/patch-ad | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/cap/files/patch-ad b/net/cap/files/patch-ad new file mode 100644 index 000000000000..0caf96fd6309 --- /dev/null +++ b/net/cap/files/patch-ad @@ -0,0 +1,30 @@ +--- support/ethertalk/bpfiltp.c.orig Mon Nov 25 13:06:49 1996 ++++ support/ethertalk/bpfiltp.c Mon Nov 25 13:08:07 1996 +@@ -63,6 +63,9 @@ + #ifdef __FreeBSD__ + #define MULTI_BPF_PKT + #define USE_SIOCGIFCONF ++#if __FreeBSD__ >= 2 ++#include <osreldate.h> ++#endif + #endif __FreeBSD__ + + #ifdef NeXT +@@ -785,7 +788,7 @@ + + bcopy(eaddr, &eh.ether_dhost, 6); + #ifdef PHASE2 +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) && __FreeBSD_version <= 199607 + /* This should really be fixed in the kernel. */ + eh.ether_type = buflen; + #else +@@ -806,7 +809,7 @@ + *q++ = (eph->protocol >> 8) & 0xff; + *q++ = (eph->protocol & 0xff); + #else PHASE2 +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) && __FreeBSD_version <= 199607 + /* This should really be fixed in the kernel. */ + eh.ether_type = eph->protocol; + #else |