Subject: pkg/32917: net/tcpdpriv fails to compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/23/2006 17:50:01
>Number:         32917
>Category:       pkg
>Synopsis:       net/tcpdpriv fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 23 17:50:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (pkgsrc current as of a few hours ago)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
	Compiling using pkg_comp + libkver with 3.0 release sets installed
Architecture: i386
Machine: i386
>Description:
	net/tcpdpriv has statfs/statvfs issues I think...

>How-To-Repeat:

	cd ..../pkgsrc/net/tcpdpriv
	make

	Expect to see ...

===> Building for tcpdpriv-0.8
gcc -g -I/usr/local/include -I/home/kre/usr/include -Wall   -DWIDE  -c tcpdpriv.c
tcpdpriv.c: In function `rand_start':
tcpdpriv.c:649: error: storage size of `stat' isn't known
tcpdpriv.c:661: warning: implicit declaration of function `statfs'
tcpdpriv.c:649: warning: unused variable `stat'
*** Error code 1

>Fix: