ports/82742: Unbroke: devel/commoncpp build with the latest ipf

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jun 28 19:40:24 UTC 2005


>Number:         82742
>Category:       ports
>Synopsis:       Unbroke: devel/commoncpp build with the latest ipf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 19:40:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
New ipfilter that is in CURRENT has IPNAT_NAME instead of IPL_NAT macro.
So to unbroke this patch should be placed at
devel/commoncpp/files/patch-src_nat.cpp
>How-To-Repeat:
>Fix:

--- 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

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list