From josh@asherah.zipperup.org  Wed Aug  5 15:16:05 1998
Received: from asherah.zipperup.org (asherah.zipperup.org [142.154.6.146])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03643
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 5 Aug 1998 15:15:58 -0700 (PDT)
          (envelope-from josh@asherah.zipperup.org)
Received: (from root@localhost)
	by asherah.zipperup.org (8.8.8/8.8.8) id SAA24945;
	Wed, 5 Aug 1998 18:15:35 -0400 (EDT)
	(envelope-from josh)
Message-Id: <199808052215.SAA24945@asherah.zipperup.org>
Date: Wed, 5 Aug 1998 18:15:35 -0400 (EDT)
From: Josh Tiefenbach <josh@asherah.zipperup.org>
Reply-To: josh@asherah.zipperup.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: ucd-snmp port breaks. missing a header file.
X-Send-Pr-Version: 3.2

>Number:         7501
>Category:       ports
>Synopsis:       ucd-snmp port breaks. missing a header file.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug  5 15:20:00 PDT 1998
>Closed-Date:    Sat Aug 8 17:02:33 PDT 1998
>Last-Modified:  Sat Aug  8 17:03:31 PDT 1998
>Originator:     Josh Tiefenbach
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Connective Software.
>Environment:

FreeBSD asherah.zipperup.org 3.0-CURRENT FreeBSD 3.0-CURRENT #2: Mon Jul 20 20:01:11 EDT 1998     josh@asherah.zipperup.org:/usr/src/sys/compile/ASHERAH  i386

>Description:

Build of the ucd-snmp port fails under -current of my vintage (see
environment). It fails while building ${WORKDIR}/agent/mibgroup/mibII/tcp.c as
it does not include <sys/socketvar.h> which is required in order to slurp in a
required structure definition.

>How-To-Repeat:

	cd /usr/ports/net/ucd-snmp && make

>Fix:
	

--- agent/mibgroup/mibII/tcp.c.orig	Wed Aug  5 17:56:45 1998
+++ agent/mibgroup/mibII/tcp.c	Wed Aug  5 18:04:33 1998
@@ -54,6 +54,9 @@
 #if HAVE_NETINET_IP_VAR_H
 #include <netinet/ip_var.h>
 #endif
+#ifdef freebsd3
+#include <sys/socketvar.h>
+#endif
 #if HAVE_NETINET_IN_PCB_H
 #include <netinet/in_pcb.h>
 #endif
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Aug 8 17:02:33 PDT 1998 
State-Changed-Why:  
Try getting a later -current.  It works fine on mine which is of 
approx. Aug 2nd vintage. 
>Unformatted:
