diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2011-06-04 13:57:56 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2011-06-04 13:57:56 +0800 |
commit | ce4833f30786244cf88979d6a00307cbc204f48e (patch) | |
tree | 796e2509067775037ab9c38b14399e0decb03103 /net | |
parent | 99baae16c8f436210d35e7ad4dd01de88a4ac949 (diff) | |
download | freebsd-ports-gnome-ce4833f30786244cf88979d6a00307cbc204f48e.tar.gz freebsd-ports-gnome-ce4833f30786244cf88979d6a00307cbc204f48e.tar.zst freebsd-ports-gnome-ce4833f30786244cf88979d6a00307cbc204f48e.zip |
Fix segmentation fault on amd64.
PR: ports/157347
Submitted by: Marcelo Gondim <gondim@intnet.com.br>
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpick/Makefile | 1 | ||||
-rw-r--r-- | net/tcpick/files/patch-src_lookup.h | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/net/tcpick/Makefile b/net/tcpick/Makefile index d60c1ebe11ac..d81dbf7e457b 100644 --- a/net/tcpick/Makefile +++ b/net/tcpick/Makefile @@ -7,6 +7,7 @@ PORTNAME= tcpick PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF diff --git a/net/tcpick/files/patch-src_lookup.h b/net/tcpick/files/patch-src_lookup.h new file mode 100644 index 000000000000..7d6234f9a83c --- /dev/null +++ b/net/tcpick/files/patch-src_lookup.h @@ -0,0 +1,19 @@ +--- src/lookup.h.orig 2011-06-04 14:06:21.000000000 +0900 ++++ src/lookup.h 2011-06-04 14:20:51.000000000 +0900 +@@ -40,3 +40,16 @@ + char * name; + struct in_addr ip; + }; ++ ++char * ++lookup(struct in_addr ia); ++ ++char * ++getportname(u_int16_t port); ++ ++struct _l_node * ++_l_alloc(struct in_addr, char *); ++ ++char * ++_l_get(struct in_addr); ++ |