diff options
author | joerg <joerg@pkgsrc.org> | 2014-02-21 20:31:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-02-21 20:31:08 +0000 |
commit | f404331bd14f1ca732172905c3c4dfb7d8990e65 (patch) | |
tree | 9346904ea3789dea58c5c452608a2c9c2811bdb8 /net | |
parent | 8e62dbf163ad9217da1f5336f2f8cdffc26007f0 (diff) | |
download | pkgsrc-f404331bd14f1ca732172905c3c4dfb7d8990e65.tar.gz |
Fix signature of main. Fix missing string.h. Request compat from TCL.
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpillust/distinfo | 5 | ||||
-rw-r--r-- | net/tcpillust/patches/patch-aa | 11 | ||||
-rw-r--r-- | net/tcpillust/patches/patch-tcpillust.c | 26 |
3 files changed, 35 insertions, 7 deletions
diff --git a/net/tcpillust/distinfo b/net/tcpillust/distinfo index c33a955f2f9..e8b704c0848 100644 --- a/net/tcpillust/distinfo +++ b/net/tcpillust/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.4 2012/03/07 17:45:27 hans Exp $ +$NetBSD: distinfo,v 1.5 2014/02/21 20:31:08 joerg 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) = 7ae2f65a2d3946f45da880f2be2ff5e63e6555cd +SHA1 (patch-aa) = 3202a17e41f2976acc3504db95de4c0caaa9741a SHA1 (patch-ab) = b674343b8036c8ffbe0d2cce371f40f3ed8ee0c0 SHA1 (patch-ac) = 8c1a77f8b123fddefc5db0482839768f292a59d7 +SHA1 (patch-tcpillust.c) = 3dda69f3bd8cf8b0560a063e4f3ea6870d9b1dd6 diff --git a/net/tcpillust/patches/patch-aa b/net/tcpillust/patches/patch-aa index ad27627fc5a..3e8b180ce00 100644 --- a/net/tcpillust/patches/patch-aa +++ b/net/tcpillust/patches/patch-aa @@ -1,14 +1,16 @@ -$NetBSD: patch-aa,v 1.2 2012/03/07 17:45:27 hans Exp $ +$NetBSD: patch-aa,v 1.3 2014/02/21 20:31:08 joerg Exp $ ---- binread.c- Tue Aug 1 05:10:39 2000 -+++ binread.c Tue Aug 1 05:10:48 2000 -@@ -31,8 +31,14 @@ +--- binread.c.orig 2000-04-21 17:31:26.000000000 +0000 ++++ binread.c +@@ -30,8 +30,15 @@ + */ #include "tcpillust.h" +#include <sys/queue.h> #include <sys/socket.h> #include <pcap.h> +#include <net/if.h> #include <net/if_arp.h> ++#include <string.h> +#ifdef __sun +#define SLIP_HDRLEN 16 +#else @@ -16,4 +18,3 @@ $NetBSD: patch-aa,v 1.2 2012/03/07 17:45:27 hans Exp $ +#endif #include <netinet/in.h> #include <netinet/in_systm.h> - #include <netinet/if_ether.h> diff --git a/net/tcpillust/patches/patch-tcpillust.c b/net/tcpillust/patches/patch-tcpillust.c new file mode 100644 index 00000000000..52347ae294e --- /dev/null +++ b/net/tcpillust/patches/patch-tcpillust.c @@ -0,0 +1,26 @@ +$NetBSD: patch-tcpillust.c,v 1.1 2014/02/21 20:31:08 joerg Exp $ + +--- tcpillust.c.orig 2014-02-20 23:18:55.000000000 +0000 ++++ tcpillust.c +@@ -30,6 +30,7 @@ + */ + + #define MAIN ++#define USE_INTERP_RESULT + #include "tcpillust.h" + + static int init_clib __P((ClientData, Tcl_Interp *, int, char **)); +@@ -69,11 +70,12 @@ float basesubratio; + float substarttime; + float subendtime; + +-void ++int + main(int argc, char* argv[]) + { + parser(argc, argv); + init_tk(); ++ return 0; + } + + void |