From owner-freebsd-gnome@FreeBSD.ORG Tue Jun 6 15:51:22 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 750E316C2F7; Tue, 6 Jun 2006 15:48:39 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id C74D843D46; Tue, 6 Jun 2006 15:48:38 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:IeSI8Sto/LjsmKGVAENduYQ0URGohVORHINqrTAHaBb5w/BVlT8JpgFPJ3SPFKRd@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k56FmV5Z096717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jun 2006 00:48:32 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 07 Jun 2006 00:47:51 +0900 Message-ID: From: Hajimu UMEMOTO To: Kris Kennaway , gnome@FreeBSD.org In-Reply-To: <20060603233929.GD6307@xor.obsecurity.org> References: <20060603233929.GD6307@xor.obsecurity.org> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Wed_Jun__7_00:47:51_2006-1" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Wed, 07 Jun 2006 00:48:32 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: ume@FreeBSD.org Subject: Re: [ports-i386@pointyhat.freebsd.org: mozilla-1.8.b1_7, 2 failed on i386 7] X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 15:51:49 -0000 --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 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--