Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 11:27:26 -0500 (CDT)
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113131: build fails due to missing include
Message-ID:  <20070529162726.BB56C261838@utd59514.utdallas.edu>
Resent-Message-ID: <200705291650.l4TGo3fa096062@freefall.freebsd.org>

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

>Number:         113131
>Category:       ports
>Synopsis:       build fails due to missing include
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 29 16:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Paul Schmehl
>Release:        FreeBSD 6.0-SECURITY i386
>Organization:
The University of Texas at Dallas
>Environment:
System: FreeBSD hostname.utdallas.edu 6.0-SECURITY FreeBSD 6.0-SECURITY #0: Wed Feb 14 12:22:36 UTC 2007 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Build fails because net_read.c is missing an include:
	#include <net/bpf.h>
>How-To-Repeat:
	Attempt to portupgrade or install from scratch
>Fix:

	Included patch fixes the problem

--- patch-net_read.c begins here ---
--- net_read.c.orig	Tue May 29 11:16:23 2007
+++ net_read.c	Tue May 29 11:16:48 2007
@@ -58,6 +58,7 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
+#include <net/bpf.h>
 #ifdef __OpenBSD__
 #include <net/if_pflog.h>
 #endif
--- patch-net_read.c ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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