[ports-i386@pointyhat.freebsd.org: mozilla-1.8.b1_7, 2 failed on i386 7]

Hajimu UMEMOTO ume at FreeBSD.org
Tue Jun 6 15:51:49 UTC 2006


Hi,

>>>>> On Sat, 3 Jun 2006 19:39:29 -0400
>>>>> Kris Kennaway <kris at obsecurity.org> said:

kris> cc -o prnetdb.o -c     -O -fno-strict-aliasing -pipe -pipe  -ansi -Wall -O -fPIC  -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/work/a/ports/www/mozilla-devel/work/mozilla/dist/include/nspr -I../../../pr/include -I../../../pr/include/private  prnetdb.c
kris> prnetdb.c:1183: error: conflicting types for 'getprotobyname_r'
kris> /usr/include/netdb.h:250: error: previous declaration of 'getprotobyname_r' was here
kris> prnetdb.c:1183: error: conflicting types for 'getprotobyname_r'
kris> /usr/include/netdb.h:250: error: previous declaration of 'getprotobyname_r' was here
kris> prnetdb.c:1192: error: conflicting types for 'getprotobynumber_r'
kris> /usr/include/netdb.h:253: error: previous declaration of 'getprotobynumber_r' was here
kris> prnetdb.c:1192: error: conflicting types for 'getprotobynumber_r'
kris> /usr/include/netdb.h:253: error: previous declaration of 'getprotobynumber_r' was here
kris> gmake[5]: *** [prnetdb.o] Error 1
kris> gmake[5]: Leaving directory `/work/a/ports/www/mozilla-devel/work/mozilla/nsprpub/pr/src/misc'

I'm not sure why www/mozilla-devel doesn't use devel/nspr, but same
fix can be used.  The patch is attached.  It was taken from
devel/nspr, and just changed the path for www/mozilla-devel.

Sincerely,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nsprpub::pr::include::md::_freebsd.h
Type: text/x-patch
Size: 342 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20060606/4ee4dae9/_freebsd.bin
-------------- next part --------------

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-gnome mailing list