From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 4 23:58:32 2005 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 49E8D16A41F for ; Thu, 4 Aug 2005 23:58:32 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmmtao06.cox.net (eastrmmtao06.cox.net [68.230.240.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE9943D45 for ; Thu, 4 Aug 2005 23:58:31 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by eastrmmtao06.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050804235829.NVIO1531.eastrmmtao06.cox.net@mezz.mezzweb.com>; Thu, 4 Aug 2005 19:58:29 -0400 Date: Thu, 04 Aug 2005 18:59:42 -0500 To: "Mikhail Teterin" References: <200508041742.33580.mi+mx@aldan.algebra.com> <200508041929.18245.mi+mx@aldan.algebra.com> <200508041946.46147.mi+mx@aldan.algebra.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <200508041946.46147.mi+mx@aldan.algebra.com> User-Agent: Opera M2/8.02 (Linux, build 1272) Cc: gnome@freebsd.org Subject: Re: leaner and even meaner firefox 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: Thu, 04 Aug 2005 23:58:32 -0000 On Thu, 04 Aug 2005 18:46:45 -0500, Mikhail Teterin wrote: >> > The files/patch-sysnss should contain patches for >> > nsNSSComponent.cpp at the end >> [...] >> --- security/manager/ssl/src/nsNSSComponent.cpp Thu Apr 22 15:48:30 2004 >> +++ security/manager/ssl/src/nsNSSComponent.cpp Thu Aug 4 16:44:27 2005 > [...] > > Yes, looks right... I knew, I should not have removed the debug printfs. > Can > you instrument the code patched? Just make it fprintf the fullModuleName > when > it is about to try it the next one (before stat()), and when it picks > one. Yeah, I can. > The NS_UNIX_LIB_DIR property should return something like > "/usr/local/lib" at > run-time. > >> Ummm, s/${PREFIX}/${LOCALBASE}/g? or need both to find anything in two >> prefixes? > > No, not ${PREFIX}, but the literal '/usr/local/lib/netscape' is replaced > with > the ${LOCALBASE}, where the nss' libraries are to be found. ${PREFIX} == ${X11BASE}, since firefox's prefix is X11BASE. I will test it by change PREFIX -> LOCALBASE and see what happen. Cheers, Mezz > -mi -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org