Subject: firefox-gtk2 breaks in NetBSD -current.
To: None <tech-pkg@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/23/2004 18:05:20
--Signature=_Fri__23_Apr_2004_18_05_20_+0200_sxwebk_maQytBzF.
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


Hi,

Trying to build firefox-gtk2 in NetBSD -current (statvfs() is available):

g++ -o nsLocalFileUnix.o -c -DOSTYPE=\"NetBSD2\" -DOSARCH=\"NetBSD\"
-D_IMPL_NS_COM -I.. -I../../dist/include/string -I../../dist/include/xpcom
-I../../dist/include
-I/usr/pkgsrc/www/firefox-gtk2/work/mozilla/dist/include/nspr 
-I/usr/pkg/include -I/usr/pkg/include  -I/usr/X11R6/include   -fPIC -DPIC 
-I/usr/pkg/include -I/usr/include -I/usr/X11R6/include
-I/usr/pkg/include/freetype2  -I/usr/X11R6/include -fno-rtti
-fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2
-march=athlon-xp -O2 -pipe -w -I/usr/pkg/include -I/usr/include
-I/usr/X11R6/include -I/usr/pkg/include/freetype2 -Dunix -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -march=athlon-xp -O2 -pipe -w  -I/usr/pkg/include
-I/usr/include -I/usr/X11R6/include -I/usr/pkg/include/freetype2 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsLocalFileUnix.pp nsLocalFileUnix.cpp nsLocalFileUnix.cpp: In
member function `virtual nsresult   
nsLocalFile::GetDiskSpaceAvailable(PRInt64*)': nsLocalFileUnix.cpp:1108: error:
aggregate `statfs fs_buf' has incomplete type    and cannot be defined
nsLocalFileUnix.cpp:1117: error: invalid use of undefined type `struct statfs'
nsLocalFileUnix.cpp:1108: error: forward declaration of `struct statfs'
gmake[3]: *** [nsLocalFileUnix.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom/io'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/firefox-gtk2/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox-gtk2/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Mozilla revisions:

$NetBSD: distinfo,v 1.51 2004/04/23 15:32:04 taya Exp $
$NetBSD: patch-bq,v 1.5 2004/04/23 15:32:04 taya Exp $

Please fix this.
Thank you.

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Fri__23_Apr_2004_18_05_20_+0200_sxwebk_maQytBzF.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAiT7DypkLYVDran0RAqb/AKCzgjgtYD+9n+DZk0iV8eIx8TyE8ACfaSZc
RyvztFzcs1TXIThwSSfMCh0=
=y+J0
-----END PGP SIGNATURE-----

--Signature=_Fri__23_Apr_2004_18_05_20_+0200_sxwebk_maQytBzF.--