Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 03:04:28 +0200 (CEST)
From:      oliver.fromme@heim3.tu-clausthal.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13888: net/trafshow broken (fix included!)
Message-ID:  <199909220104.DAA03385@kiste.heim3.tu-clausthal.de>

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

>Number:         13888
>Category:       ports
>Synopsis:       net/trafshow broken (fix included!)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 21 18:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Fromme
>Release:        FreeBSD 4.0-19990918-CURRENT i386
>Organization:
Clausthal University of Technology, Computing Center
>Environment:

uname -a:
FreeBSD kiste.heim3.tu-clausthal.de 4.0-19990918-CURRENT
FreeBSD 4.0-19990918-CURRENT #1: Tue Sep 21 23:12:35 CEST 1999
olli@dao-lin-hay.heim3.tu-clausthal.de:/usr/src/sys/compile/KISTE  i386

>Description:

/usr/ports/net/trafshow does not compile, because it includes
<sys/socket.h> without also including <sys/types.h>.
The manpages clearly say that <sys/types.h> must be included.

>How-To-Repeat:

Try to compile the port.
It _did_ work at some time in the past (maybe socket.h
included types.h itself), but not on a recent -current.

>Fix:

Add this additional patch to the patches directory  of
the net/trafshow port (e.g. call it patch-ae).

--- trafshow/show.c.orig	Mon Jan 15 15:00:25 1996
+++ trafshow/show.c	Wed Sep 22 02:56:53 1999
@@ -18,6 +18,7 @@
 #include <curses.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netinet/in_systm.h>

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


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




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