From owner-freebsd-gecko@FreeBSD.ORG Mon Jun 27 16:10:09 2011 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 930001065672 for ; Mon, 27 Jun 2011 16:10:09 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB7E8FC15 for ; Mon, 27 Jun 2011 16:10:09 +0000 (UTC) Received: from mail.ixsystems.com (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id C2277A66407 for ; Mon, 27 Jun 2011 08:54:20 -0700 (PDT) Received: from mail.iXsystems.com ([127.0.0.1]) by mail.ixsystems.com (mail.ixsystems.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 90433-02 for ; Mon, 27 Jun 2011 08:54:20 -0700 (PDT) Received: from [192.168.0.186] (75-130-56-30.static.kgpt.tn.charter.com [75.130.56.30]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 6D70FA66403 for ; Mon, 27 Jun 2011 08:54:20 -0700 (PDT) Message-ID: <4E08A7AB.1000802@pcbsd.org> Date: Mon, 27 Jun 2011 11:54:19 -0400 From: Kris Moore User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110430 Thunderbird/3.1.10 MIME-Version: 1.0 To: gecko@freebsd.org Content-Type: multipart/mixed; boundary="------------030608010003050202090801" Cc: Subject: Patch for Firefox port to fix our PBIs X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 16:10:09 -0000 This is a multi-part message in MIME format. --------------030608010003050202090801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hey, we are running into this bug when trying to use FF 5.0 PBIs: https://bugzilla.mozilla.org/show_bug.cgi?id=573958 The following patch is from the bug report thread, and should fix the issue we are seeing. Could this be committed to the port soon? (I've only eyeball compiled, may need tindy run first) Thanks! -- Kris Moore PC-BSD Software iXsystems --------------030608010003050202090801 Content-Type: text/plain; name="patch-ipc-glue-GeckoChildProcessHost.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-ipc-glue-GeckoChildProcessHost.cpp" --- ipc/glue/GeckoChildProcessHost.cpp.orig 2011-06-15 17:57:27.000000000 -0400 +++ ipc/glue/GeckoChildProcessHost.cpp 2011-06-27 11:42:52.153911641 -0400 @@ -433,7 +433,16 @@ #ifdef ANDROID path += "/lib"; #endif - newEnvVars["LD_LIBRARY_PATH"] = path.get(); + const char *ld_library_path = PR_GetEnv("LD_LIBRARY_PATH"); + nsCString new_ld_lib_path; + if (ld_library_path && *ld_library_path) { + new_ld_lib_path.Assign(ld_library_path); + new_ld_lib_path.AppendLiteral(":"); + new_ld_lib_path.Append(path.get()); + newEnvVars["LD_LIBRARY_PATH"] = new_ld_lib_path.get(); + } else { + newEnvVars["LD_LIBRARY_PATH"] = path.get(); + } #elif OS_MACOSX newEnvVars["DYLD_LIBRARY_PATH"] = path.get(); #endif --------------030608010003050202090801--