openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_xre_nsXREDirProvider_cpp
landry 3d95990410 Update to firefox 11.0.
- Fixes MFSA 2012-12->19
- see http://www.mozilla.org/en-US/firefox/11.0/releasenotes/
- complete patchset for #691898, still fixes build on ppc (and hopefully
  commited in firefox 14...)
- add patchset from #706955, workarounds #669050 (xpcshell hangs during
  make install and chokes on CSPUtils.csm, threads related..)
- remove obsolete/commited patches
2012-03-16 21:31:24 +00:00

18 lines
713 B
Plaintext

$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.11 2012/03/16 21:31:24 landry Exp $
Look for extensions in LOCALBASE
--- toolkit/xre/nsXREDirProvider.cpp.orig Thu Feb 2 00:39:43 2012
+++ toolkit/xre/nsXREDirProvider.cpp Tue Feb 14 18:42:23 2012
@@ -1131,11 +1131,7 @@ nsXREDirProvider::GetSystemExtensionsDirectory(nsILoca
NS_ENSURE_SUCCESS(rv, rv);
#elif defined(XP_UNIX)
static const char *const sysSExtDir =
-#ifdef HAVE_USR_LIB64_DIR
- "/usr/lib64/mozilla/extensions";
-#else
- "/usr/lib/mozilla/extensions";
-#endif
+ "${LOCALBASE}/lib/mozilla/extensions";
rv = NS_NewNativeLocalFile(nsDependentCString(sysSExtDir), false,
getter_AddRefs(localDir));