aboutsummaryrefslogtreecommitdiffstats
path: root/irc/tircproxy
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-06-29 21:52:06 +0800
committerarved <arved@FreeBSD.org>2005-06-29 21:52:06 +0800
commit7a1069f9460fc661da0858e330126e8b962393bc (patch)
tree91631123e92d6e7e6d6b336824ca0f1514b97394 /irc/tircproxy
parent1aafc0dc84442204fdbc11def1774ba3fbfa529e (diff)
downloadfreebsd-ports-gnome-7a1069f9460fc661da0858e330126e8b962393bc.tar.gz
freebsd-ports-gnome-7a1069f9460fc661da0858e330126e8b962393bc.tar.zst
freebsd-ports-gnome-7a1069f9460fc661da0858e330126e8b962393bc.zip
Fix build with ipfilter4
Diffstat (limited to 'irc/tircproxy')
-rw-r--r--irc/tircproxy/files/patch-ad16
1 files changed, 11 insertions, 5 deletions
diff --git a/irc/tircproxy/files/patch-ad b/irc/tircproxy/files/patch-ad
index a5b0a5f46dee..19ddb4493041 100644
--- a/irc/tircproxy/files/patch-ad
+++ b/irc/tircproxy/files/patch-ad
@@ -1,6 +1,6 @@
---- tircproxy.c.orig Wed Sep 25 02:55:48 2002
-+++ tircproxy.c Wed Sep 25 02:56:17 2002
-@@ -131,6 +131,8 @@
+--- tircproxy.c.orig Wed Jun 29 13:40:45 2005
++++ tircproxy.c Wed Jun 29 13:42:01 2005
+@@ -131,9 +131,14 @@
# include <netinet/ip_compat.h>
# endif
# include <netinet/ip_fil.h>
@@ -9,7 +9,13 @@
# include <netinet/ip_proxy.h>
# include <netinet/ip_nat.h>
# define TRANS 1
-@@ -1066,9 +1068,10 @@
++# ifndef IPL_NAT
++# define IPL_NAT IPNAT_NAME
++# endif
+ # warning IPF transparent proxying available
+ # else
+ # undef IPF
+@@ -1066,9 +1071,10 @@
struct sockaddr_in to_addr;
int to_len;
#if IPF
@@ -23,7 +29,7 @@
#endif
/* Give this thing 10 minutes to get started (paranoia).
-@@ -1152,9 +1155,9 @@
+@@ -1152,9 +1158,9 @@
natlook.nl_inport = sloc.sin_port;
fd = open(IPL_NAT, O_RDONLY);