Subject: pkg/25619: libcdaudio compile error
To: None <>
From: None <>
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
>Release:        NetBSD 2.0E
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
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
run 'make' in $PKGSRC/audio/libcdaudio
statfs is never defined and I think it should be statvfs

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