Fix segmentation fault on amd64.
PR: ports/157347 Submitted by: Marcelo Gondim <gondim@intnet.com.br>
This commit is contained in:
parent
2feeb2439e
commit
bfe97bd753
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275050
2 changed files with 20 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= tcpick
|
||||
PORTVERSION= 0.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
19
net/tcpick/files/patch-src_lookup.h
Normal file
19
net/tcpick/files/patch-src_lookup.h
Normal file
|
@ -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);
|
||||
+
|
Loading…
Reference in a new issue