Subject: Firefox patches
To: None <,>
From: Ben Secrest <>
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
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
-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 <>