Subject: pkg/25619: libcdaudio compile error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jj@gnorw.net>
List: pkgsrc-bugs
Date: 05/17/2004 23:10:06
>Number:         25619
>Category:       pkg
>Synopsis:       libcdaudio compile error
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 17 21:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0E
>Organization:
	
>Environment:
	
	
System: NetBSD goa 2.0E NetBSD 2.0E (GOA) #0: Fri May 14 12:39:10 CEST 2004  root@goa:/usr/build/i386/obj/usr/src/sys/arch/i386/compile/GOA i386
Architecture: i386
Machine: i386
>Description:
Compiling pkgsrc/audio/libcdaudio there is an error in cdaudio.c line 166:
cdaudio.c:166: error: invalid use of undefined type `struct statfs'
cdaudio.c:166: error: dereferencing pointer to incomplete type
>How-To-Repeat:
run 'make' in $PKGSRC/audio/libcdaudio
>Fix:
statfs is never defined and I think it should be statvfs

All one needs to do is change line 119:
  struct statfs *mnt;
to:
  struct statvfs *mnt;

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