Date: Wed, 07 Jun 2006 00:47:51 +0900 From: Hajimu UMEMOTO <ume@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org>, gnome@FreeBSD.org Cc: ume@FreeBSD.org Subject: Re: [ports-i386@pointyhat.freebsd.org: mozilla-1.8.b1_7, 2 failed on i386 7] Message-ID: <ygezmgqi8uw.wl%ume@mahoroba.org> In-Reply-To: <20060603233929.GD6307@xor.obsecurity.org> References: <20060603233929.GD6307@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Wed_Jun__7_00:47:51_2006-1 Content-Type: text/plain; charset=US-ASCII Hi, >>>>> On Sat, 3 Jun 2006 19:39:29 -0400 >>>>> Kris Kennaway <kris@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, --Multipart_Wed_Jun__7_00:47:51_2006-1 Content-Type: text/x-patch; charset=US-ASCII Content-Disposition: attachment; filename="patch-nsprpub::pr::include::md::_freebsd.h" Content-Transfer-Encoding: 7bit --- nsprpub/pr/include/md/_freebsd.h.orig Sat Apr 22 17:14:55 2006 +++ nsprpub/pr/include/md/_freebsd.h Sat Apr 22 17:14:47 2006 @@ -106,6 +106,11 @@ #define _PR_IPV6_V6ONLY_PROBE #endif +#if __FreeBSD_version >= 700016 +#define _PR_HAVE_GETPROTO_R +#define _PR_HAVE_5_ARG_GETPROTO_R +#endif + #define USE_SETJMP #ifndef _PR_PTHREADS --Multipart_Wed_Jun__7_00:47:51_2006-1 Content-Type: text/plain; charset=US-ASCII -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ --Multipart_Wed_Jun__7_00:47:51_2006-1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygezmgqi8uw.wl%ume>