From 059b790d76e5e6c05d76da115d74a0e3ed0c2dcd Mon Sep 17 00:00:00 2001 From: Sam Lawrance Date: Wed, 29 Jun 2005 04:51:44 +0000 Subject: Add patch to fix build on 6 PR: ports/82742 Submitted by: Vsevolod Stakhov --- devel/commoncpp/files/patch-src_nat.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devel/commoncpp/files/patch-src_nat.cpp (limited to 'devel/commoncpp') diff --git a/devel/commoncpp/files/patch-src_nat.cpp b/devel/commoncpp/files/patch-src_nat.cpp new file mode 100644 index 000000000000..a4dc33331450 --- /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 -- cgit v1.2.3