From vsevolod@highsecure.ru  Tue Jun 28 19:36:08 2005
Return-Path: <vsevolod@highsecure.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7AF9216A420
	for <freebsd-gnats-submit@freebsd.org>; Tue, 28 Jun 2005 19:36:08 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 79E3043D48
	for <freebsd-gnats-submit@freebsd.org>; Tue, 28 Jun 2005 19:36:07 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j5SJardw095401
    for <freebsd-gnats-submit@freebsd.org>; Tue, 28 Jun 2005 23:36:53 +0400 (MSD)
Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1])
  by localhost (8.13.1/8.12.6) with ESMTP id j5SJarjN095396;
    Tue, 28 Jun 2005 23:36:53 +0400 (MSD)
Received: from localhost (localhost.inec.ru [127.0.0.1])
	by localhost (Postfix) with SMTP
	id 2E4A659F85; Tue, 28 Jun 2005 23:36:53 +0400 (MSD)
Received: from core (postbox.inec.ru [213.148.3.226])
	by waterwall.inec.ru (Postfix) with ESMTP
	id AAP6D42C1A6D5153BA; Tue, 28 Jun 2005 23:36:53 +0400 (MSD)
Received: from [213.219.249.64] (helo=spray.anyhost.ru ident=mailnull)
	by core with esmtp (Exim 4.51 (FreeBSD))
	id 1DnLrx-000PKQ-A9; Tue, 28 Jun 2005 23:35:41 +0400
Received: from cebka by spray.anyhost.ru with local (Exim 4.51 (FreeBSD))
	id 1DnLsA-00001z-IW; Tue, 28 Jun 2005 23:35:54 +0400
Message-Id: <E1DnLsA-00001z-IW@spray.anyhost.ru>
Date: Tue, 28 Jun 2005 23:35:54 +0400
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Sender: Vsevolod Stakhov <vsevolod@highsecure.ru>
Reply-To: Vsevolod Stakhov <vsevolod@highsecure.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lawrance@freebsd.org
Subject: Unbroke: devel/commoncpp build with the latest ipf 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82742
>Category:       ports
>Synopsis:       Unbroke: devel/commoncpp build with the latest ipf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 19:40:23 GMT 2005
>Closed-Date:    Wed Jun 29 04:52:30 GMT 2005
>Last-Modified:  Wed Jun 29 04:52:30 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Wed Jun 29 03:31:30 GMT 2005 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82742 
State-Changed-From-To: open->closed 
State-Changed-By: lawrance 
State-Changed-When: Wed Jun 29 04:52:20 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82742 
>Unformatted:
