openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_xre_nsXREDirProvider_cpp
landry 3cb9f81e00 Update to firefox 13.0.
See https://www.mozilla.org/en-US/firefox/13.0/releasenotes/ for details
- set SEPARATE_BUILD (workarounds #736961)
- cleanup useless dirs (from #717616)
2012-06-11 15:29:56 +00:00

18 lines
713 B
Plaintext

$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.12 2012/06/11 15:29:56 landry Exp $
Look for extensions in LOCALBASE
--- toolkit/xre/nsXREDirProvider.cpp.orig Wed May 2 05:17:15 2012
+++ toolkit/xre/nsXREDirProvider.cpp Wed May 9 23:06:35 2012
@@ -1168,11 +1168,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));