Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 13:31:52 +0100 (CET)
From:      Nicolas Jombart <ecu@ipv42.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47634: Update net/mrt: fix build on -CURRENT
Message-ID:  <20030129123152.D0B8015246@shiva.bouglou.net>

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

>Number:         47634
>Category:       ports
>Synopsis:       Update net/mrt: fix build on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 04:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030129123152.D0B8015246>