diff options
author | hans <hans@pkgsrc.org> | 2012-03-07 17:45:27 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-07 17:45:27 +0000 |
commit | ae0a4ee4912a78d2af54b85847a1e2cd6d8626cc (patch) | |
tree | 8472253e7ce0028a820f005ad67e1efdd7d1d6e9 | |
parent | 479cfc823e7baeeb7a96263b393d9158f27a475b (diff) | |
download | pkgsrc-ae0a4ee4912a78d2af54b85847a1e2cd6d8626cc.tar.gz |
There is no net/slip.h on SunOS, so just define SLIP_HDRLEN manually.
-rw-r--r-- | net/tcpillust/distinfo | 4 | ||||
-rw-r--r-- | net/tcpillust/patches/patch-aa | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/net/tcpillust/distinfo b/net/tcpillust/distinfo index 20cad458fcf..c33a955f2f9 100644 --- a/net/tcpillust/distinfo +++ b/net/tcpillust/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.4 2012/03/07 17:45:27 hans Exp $ SHA1 (tcpillust-1.0a.tar.gz) = 326f9d16f7fb59aa68d9ffb21697b85adb3c45ad RMD160 (tcpillust-1.0a.tar.gz) = 11d9f5c9a4dc406c9fda82badf86c8de1b1c0e66 Size (tcpillust-1.0a.tar.gz) = 45364 bytes -SHA1 (patch-aa) = 2ef369a732d2f4403ce293282853d743461cd7ad +SHA1 (patch-aa) = 7ae2f65a2d3946f45da880f2be2ff5e63e6555cd SHA1 (patch-ab) = b674343b8036c8ffbe0d2cce371f40f3ed8ee0c0 SHA1 (patch-ac) = 8c1a77f8b123fddefc5db0482839768f292a59d7 diff --git a/net/tcpillust/patches/patch-aa b/net/tcpillust/patches/patch-aa index 72e05e8cc8f..ad27627fc5a 100644 --- a/net/tcpillust/patches/patch-aa +++ b/net/tcpillust/patches/patch-aa @@ -1,10 +1,19 @@ -$NetBSD: patch-aa,v 1.1 2000/07/31 20:24:18 itojun Exp $ +$NetBSD: patch-aa,v 1.2 2012/03/07 17:45:27 hans Exp $ + --- binread.c- Tue Aug 1 05:10:39 2000 +++ binread.c Tue Aug 1 05:10:48 2000 -@@ -31,4 +31,6 @@ +@@ -31,8 +31,14 @@ #include "tcpillust.h" +#include <sys/queue.h> #include <sys/socket.h> #include <pcap.h> +#include <net/if.h> #include <net/if_arp.h> ++#ifdef __sun ++#define SLIP_HDRLEN 16 ++#else + #include <net/slip.h> ++#endif + #include <netinet/in.h> + #include <netinet/in_systm.h> + #include <netinet/if_ether.h> |