Subject: Firefox patches
To: None <taya@netbsd.org, tech-pkg@netbsd.org>
From: Ben Secrest <blsecres@ssdtgsm.com>
List: tech-pkg
Date: 04/07/2004 14:31:17
I'm trying to build Mozilla Firefox 0.8 on a Solaris 2.7 system.  The
build is failing due to IPv6 support added in various places by
applied patches.  This system doesn't support IPv6 by default.  Some
of the necessary defines and structures are missing from sys/socket.h
and netdb.h:

gmake[5]: Entering directory `/opt/pkg/pkgsrc/www/firefox-gtk2/work/mozilla/nspr
pub/pr/src/misc'
gcc -o prnetdb.o -c   -I/opt/pkg/include -I/opt/pkg/include/freetype2 -O -I/opt/
pkg/include -I/opt/pkg/include/freetype2 -pipe -Wall -pthreads -O2 -fPIC  -UDEBU
G  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DSVR4=1 -DSYSV=1 -D__svr4=1 -D__sv
r4__=1 -DSOLARIS=1 -DHAVE_FCNTL_FILE_LOCKING=1 -D_PR_HAVE_OFF64_T=1 -D_LARGEFILE
64_SOURCE=1 -D_PR_INET6=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -DHAV
E_POINTER_LOCALTIME_R=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
-D_NSPR_BUILD_ -I/opt/pkg/pkgsrc/www/firefox-gtk2/work/mozilla/dist/include/nspr
 -I../../../pr/include -I../../../pr/include/private  prnetdb.c
prnetdb.c: In function `CopyHostent':
prnetdb.c:525: error: `AF_INET6' undeclared (first use in this function)
prnetdb.c:525: error: (Each undeclared identifier is reported only once
prnetdb.c:525: error: for each function it appears in.)
prnetdb.c: In function `PR_GetIPNodeByName':
prnetdb.c:854: error: `AI_V4MAPPED' undeclared (first use in this function)
...
-- 
Ben Secrest <blsecres@ssdtgsm.com>