Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 23:35:54 +0400
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lawrance@FreeBSD.org
Subject:   ports/82742: Unbroke: devel/commoncpp build with the latest ipf 
Message-ID:  <E1DnLsA-00001z-IW@spray.anyhost.ru>
Resent-Message-ID: <200506281940.j5SJeNQh053501@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DnLsA-00001z-IW>