aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/commoncpp/files/patch-src_nat.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/commoncpp/files/patch-src_nat.cpp b/devel/commoncpp/files/patch-src_nat.cpp
new file mode 100644
index 00000000000..a4dc3333145
--- /dev/null
+++ b/devel/commoncpp/files/patch-src_nat.cpp
@@ -0,0 +1,12 @@
+--- src/nat.cpp.orig Tue Jun 28 23:19:51 2005
++++ src/nat.cpp Tue Jun 28 23:26:15 2005
+@@ -127,6 +127,9 @@
+ #else
+ # define NAT_SYSCALL "ioctl"
+ # ifdef HAVE_NAT_IPF
++# ifndef IPL_NAT
++# define IPL_NAT IPNAT_NAME
++# endif
+ # define NAT_DEVICE IPL_NAT
+ # else
+ # ifdef HAVE_NAT_PF