From dom@moo.cus.org.uk  Mon Jan  6 06:20:40 2003
Return-Path: <dom@moo.cus.org.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 54A6137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  6 Jan 2003 06:20:40 -0800 (PST)
Received: from moo.cus.org.uk (host213-106-240-81.no-dns-yet.ntli.net [213.106.240.81])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4C97C43EC5
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  6 Jan 2003 06:20:34 -0800 (PST)
	(envelope-from dom@moo.cus.org.uk)
Received: from moo.cus.org.uk (localhost.cus.org.uk [127.0.0.1])
	by moo.cus.org.uk (8.12.5/8.11.3) with ESMTP id h06EOE2B021165;
	Mon, 6 Jan 2003 14:24:14 GMT
	(envelope-from dom@moo.cus.org.uk)
Received: (from dom@localhost)
	by moo.cus.org.uk (8.12.5/8.12.5/Submit) id h06EODAc021156;
	Mon, 6 Jan 2003 14:24:13 GMT
Message-Id: <200301061424.h06EODAc021156@moo.cus.org.uk>
Date: Mon, 6 Jan 2003 14:24:13 GMT
From: Dominic Marks <dom@cus.org.uk>
Reply-To: Dominic Marks <dom@cus.org.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dugsong@monkey.org
Subject: Port Fix: net/libdnet
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46800
>Category:       ports
>Synopsis:       Port Fix: net/libdnet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 06 06:30:01 PST 2003
>Closed-Date:    Tue Jan 07 09:17:04 PST 2003
>Last-Modified:  Tue Jan 07 09:17:04 PST 2003
>Originator:     Dominic Marks
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
UMIST
>Environment:
System: FreeBSD moo.cus.org.uk 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 20 15:11:50 BST 2002 root@moo.cus.org.uk:/usr/obj/usr/src/sys/MOO i386

	
>Description:
	This patch should fix the libdnet build on FreeBSD 5
	
>How-To-Repeat:
	NA.
	
>Fix:

 1. Add this as patch-aa for the port

--- src/fw-ipfw.c	Fri Jan 25 04:25:40 2002
+++ src/fw-ipfw.c.new	Mon Jan  6 14:10:17 2003
@@ -12,6 +12,7 @@
 #include <sys/queue.h>
 #include <sys/socket.h>
 
+#include <net/if.h>
 #include <netinet/in.h>
 #include <netinet/ip_fw.h>
 

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: petef 
State-Changed-When: Mon Jan 6 17:44:23 PST 2003 
State-Changed-Why:  
Doesn't seem to fix it: 

cc -DHAVE_CONFIG_H -I. -I. -I../include     -O -pipe -mcpu=pentiumpro -Wall -c fw-ipfw.c 
fw-ipfw.c: In function `fr_to_ipfw': 
fw-ipfw.c:52: structure has no member named `fw_in_if' 
fw-ipfw.c:53: structure has no member named `fw_in_if' 
fw-ipfw.c:54: structure has no member named `fw_flg' 
fw-ipfw.c:54: `IP_FW_F_IIFNAME' undeclared (first use in this function) 
fw-ipfw.c:54: (Each undeclared identifier is reported only once 
fw-ipfw.c:54: for each function it appears in.) 
fw-ipfw.c:56: structure has no member named `fw_flg' 
fw-ipfw.c:56: `IP_FW_F_IN' undeclared (first use in this function) 
fw-ipfw.c:60: structure has no member named `fw_out_if' 
fw-ipfw.c:61: structure has no member named `fw_out_if' 
fw-ipfw.c:62: structure has no member named `fw_flg' 
fw-ipfw.c:62: `IP_FW_F_OIFNAME' undeclared (first use in this function) 
fw-ipfw.c:64: structure has no member named `fw_flg' 
fw-ipfw.c:64: `IP_FW_F_OUT' undeclared (first use in this function) 
fw-ipfw.c:67: structure has no member named `fw_flg' 
fw-ipfw.c:67: `IP_FW_F_ACCEPT' undeclared (first use in this function) 
fw-ipfw.c:69: structure has no member named `fw_flg' 
fw-ipfw.c:69: `IP_FW_F_DENY' undeclared (first use in this function) 
fw-ipfw.c:71: structure has no member named `fw_prot' 
fw-ipfw.c:72: structure has no member named `fw_src' 
fw-ipfw.c:73: structure has no member named `fw_dst' 
fw-ipfw.c:74: structure has no member named `fw_smsk' 
fw-ipfw.c:75: structure has no member named `fw_dmsk' 
fw-ipfw.c:82: structure has no member named `fw_flg' 
fw-ipfw.c:82: `IP_FW_F_SRNG' undeclared (first use in this function) 
fw-ipfw.c:83: structure has no member named `fw_uar' 
fw-ipfw.c:84: structure has no member named `fw_uar' 
fw-ipfw.c:85: warning: implicit declaration of function `IP_FW_SETNSRCP' 
fw-ipfw.c:87: structure has no member named `fw_uar' 
fw-ipfw.c:91: structure has no member named `fw_flg' 
fw-ipfw.c:91: `IP_FW_F_DRNG' undeclared (first use in this function) 
fw-ipfw.c:92: structure has no member named `fw_uar' 
fw-ipfw.c:93: structure has no member named `fw_uar' 
fw-ipfw.c:94: warning: implicit declaration of function `IP_FW_SETNDSTP' 
fw-ipfw.c:96: structure has no member named `fw_uar' 
fw-ipfw.c:102: structure has no member named `fw_uar' 
fw-ipfw.c:104: structure has no member named `fw_flg' 
fw-ipfw.c:104: `IP_FW_F_ICMPBIT' undeclared (first use in this function) 
fw-ipfw.c: In function `ipfw_to_fr': 
fw-ipfw.c:118: structure has no member named `fw_flg' 
fw-ipfw.c:118: `IP_FW_F_IN' undeclared (first use in this function) 
fw-ipfw.c:118: structure has no member named `fw_in_if' 
fw-ipfw.c:120: structure has no member named `fw_in_if' 
fw-ipfw.c:121: structure has no member named `fw_in_if' 
fw-ipfw.c:122: structure has no member named `fw_flg' 
fw-ipfw.c:122: `IP_FW_F_OUT' undeclared (first use in this function) 
fw-ipfw.c:123: structure has no member named `fw_out_if' 
fw-ipfw.c:125: structure has no member named `fw_out_if' 
fw-ipfw.c:126: structure has no member named `fw_out_if' 
fw-ipfw.c:128: structure has no member named `fw_flg' 
fw-ipfw.c:128: `IP_FW_F_ACCEPT' undeclared (first use in this function) 
fw-ipfw.c:130: structure has no member named `fw_flg' 
fw-ipfw.c:131: structure has no member named `fw_prot' 
fw-ipfw.c:134: structure has no member named `fw_src' 
fw-ipfw.c:135: structure has no member named `fw_dst' 
fw-ipfw.c:136: structure has no member named `fw_smsk' 
fw-ipfw.c:137: structure has no member named `fw_dmsk' 
fw-ipfw.c:142: structure has no member named `fw_flg' 
fw-ipfw.c:142: `IP_FW_F_SRNG' undeclared (first use in this function) 
fw-ipfw.c:143: warning: implicit declaration of function `IP_FW_GETNSRCP' 
fw-ipfw.c:144: structure has no member named `fw_uar' 
fw-ipfw.c:145: structure has no member named `fw_uar' 
fw-ipfw.c:148: structure has no member named `fw_uar' 
fw-ipfw.c:154: structure has no member named `fw_flg' 
fw-ipfw.c:154: `IP_FW_F_DRNG' undeclared (first use in this function) 
fw-ipfw.c:155: warning: implicit declaration of function `IP_FW_GETNDSTP' 
fw-ipfw.c:157: structure has no member named `fw_uar' 
fw-ipfw.c:158: structure has no member named `fw_uar' 
fw-ipfw.c:162: structure has no member named `fw_uar' 
fw-ipfw.c:169: structure has no member named `fw_flg' 
fw-ipfw.c:169: `IP_FW_F_ICMPBIT' undeclared (first use in this function) 
fw-ipfw.c:170: `IP_FW_ICMPTYPES_DIM' undeclared (first use in this function) 
fw-ipfw.c:171: structure has no member named `fw_uar' 
fw-ipfw.c: In function `fw_delete': 
fw-ipfw.c:256: structure has no member named `fw_number' 
*** Error code 1 

Stop in /usr/home/petef/cvs/libdnet/work/libdnet-1.5/src. 
*** Error code 1 


http://www.freebsd.org/cgi/query-pr.cgi?pr=46800 

From: "Dominic Marks" <dominic_marks@btinternet.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <dom@cus.org.uk>
Cc:  
Subject: Re: ports/46800: Port Fix: net/libdnet
Date: Tue, 7 Jan 2003 12:18:13 -0000

 My patch doesn't quite fix the 5.0 related problems. I believe the move to
 IPFW 2 is at the root of it. I'm investigating the possibility of solving it
 with a few patches.
 
 Thanks to Tilman Linneweh, Pete Fritchman and Dug Song for their feed back.
 
 --
 Dominic
 

From: "Dominic Marks" <dominic_marks@btinternet.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <dom@cus.org.uk>
Cc:  
Subject: Re: ports/46800: Port Fix: net/libdnet
Date: Tue, 7 Jan 2003 16:34:31 -0000

 This PR can be closed, it has been superceded by 46822.
 
 Thanks,
 --
 Dominic
State-Changed-From-To: feedback->closed 
State-Changed-By: roam 
State-Changed-When: Tue Jan 7 09:16:37 PST 2003 
State-Changed-Why:  
Superceded by ports/46822. 

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