diff options
-rw-r--r-- | irc/tircproxy/Makefile | 2 | ||||
-rw-r--r-- | irc/tircproxy/files/patch-ad | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/irc/tircproxy/Makefile b/irc/tircproxy/Makefile index a883e2a016b0..c4ac9f7ac5d8 100644 --- a/irc/tircproxy/Makefile +++ b/irc/tircproxy/Makefile @@ -7,7 +7,7 @@ PORTNAME= tircproxy PORTVERSION= 0.4.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= irc MASTER_SITES= http://bre.klaki.net/programs/tircproxy/ diff --git a/irc/tircproxy/files/patch-ad b/irc/tircproxy/files/patch-ad index 3f46c3ba27fb..a5b0a5f46dee 100644 --- a/irc/tircproxy/files/patch-ad +++ b/irc/tircproxy/files/patch-ad @@ -1,5 +1,5 @@ ---- tircproxy.c.orig Wed Jun 5 19:13:00 2002 -+++ tircproxy.c Wed Jun 5 19:14:46 2002 +--- tircproxy.c.orig Wed Sep 25 02:55:48 2002 ++++ tircproxy.c Wed Sep 25 02:56:17 2002 @@ -131,6 +131,8 @@ # include <netinet/ip_compat.h> # endif @@ -23,14 +23,8 @@ #endif /* Give this thing 10 minutes to get started (paranoia). -@@ -1148,13 +1151,13 @@ - natlook.nl_outip = socketin.sin_addr; - natlook.nl_inip = sloc.sin_addr; - natlook.nl_flags = IPN_TCP; -- natlook.nl_outport = socketin.sin_port; -- natlook.nl_inport = sloc.sin_port; -+ natlook.nl_outport = ntohs(socketin.sin_port); -+ natlook.nl_inport = ntohs(sloc.sin_port); +@@ -1152,9 +1155,9 @@ + natlook.nl_inport = sloc.sin_port; fd = open(IPL_NAT, O_RDONLY); - if (ioctl(fd, SIOCGNATL, &natlook) == -1) |