aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2011-06-04 13:57:56 +0800
committernobutaka <nobutaka@FreeBSD.org>2011-06-04 13:57:56 +0800
commitce4833f30786244cf88979d6a00307cbc204f48e (patch)
tree796e2509067775037ab9c38b14399e0decb03103 /net
parent99baae16c8f436210d35e7ad4dd01de88a4ac949 (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--net/tcpick/files/patch-src_lookup.h19
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);
++