From ecu@shiva.bouglou.net  Wed Jan 29 04:32:01 2003
Return-Path: <ecu@shiva.bouglou.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4EAC137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jan 2003 04:32:01 -0800 (PST)
Received: from shiva.bouglou.net (shiva.bouglou.net [62.4.22.68])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A5DDE43F43
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jan 2003 04:32:00 -0800 (PST)
	(envelope-from ecu@shiva.bouglou.net)
Received: by shiva.bouglou.net (Postfix, from userid 1000)
	id D0B8015246; Wed, 29 Jan 2003 13:31:52 +0100 (CET)
Message-Id: <20030129123152.D0B8015246@shiva.bouglou.net>
Date: Wed, 29 Jan 2003 13:31:52 +0100 (CET)
From: Nicolas Jombart <ecu@ipv42.net>
Reply-To: Nicolas Jombart <ecu@ipv42.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update net/mrt: fix build on -CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47634
>Category:       ports
>Synopsis:       Update net/mrt: fix build on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 04:40:01 PST 2003
>Closed-Date:    Sun Feb 02 12:45:03 PST 2003
>Last-Modified:  Sun Feb 02 12:45:03 PST 2003
>Originator:     Nicolas Jombart
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD shiva.bouglou.net 4.7-STABLE FreeBSD 4.7-STABLE #15: Sat Jan 4 18:49:56 CET 2003 ecu@shiva.bouglou.net:/usr/obj/usr/src/sys/SHIVA i386


	
>Description:

	net/mrt doesn't build on 5.0 due to missing #include
	(sys/types.h)

	Noticed on: bento

	
>How-To-Repeat:
	
>Fix:

Add this patch in files/ (patch-ripng.c):

--- lib/rip/ripng.c.orig        Wed Jan 29 13:13:02 2003
+++ lib/rip/ripng.c     Wed Jan 29 13:13:16 2003
@@ -2,6 +2,10 @@
  * $Id: ripng.c,v 1.24.2.5 2000/03/09 23:37:10 labovit Exp $
  */
 
+#include "mrt.h"
+#include "api6.h"
+#include "rip.h"
+
 #ifdef NT
 #include <ntconfig.h>
 #include <winsock2.h>
@@ -19,10 +23,6 @@
 #include <sys/fcntl.h>
 #include <sys/uio.h>
 #endif /* NT */
-
-#include "mrt.h"
-#include "api6.h"
-#include "rip.h"
 
 
 /* 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Sun Feb 2 12:44:35 PST 2003 
State-Changed-Why:  
Functionally-equivalent patch committed, thanks! 

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