2010-04-28 02:50:23 -04:00
|
|
|
$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.3 2010/04/28 06:50:23 landry Exp $
|
2009-08-03 17:27:00 -04:00
|
|
|
--- toolkit/xre/nsXREDirProvider.cpp.orig Thu Jul 30 18:30:33 2009
|
|
|
|
+++ toolkit/xre/nsXREDirProvider.cpp Mon Aug 3 22:47:28 2009
|
|
|
|
@@ -1144,11 +1144,7 @@ nsXREDirProvider::GetSystemExtensionsDirectory(nsILoca
|
2009-06-20 21:31:23 -04:00
|
|
|
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
|
2010-04-28 02:50:23 -04:00
|
|
|
+ "${LOCALBASE}/lib/mozilla/extensions";
|
2009-06-20 21:31:23 -04:00
|
|
|
|
|
|
|
rv = NS_NewNativeLocalFile(nsDependentCString(sysSExtDir), PR_FALSE,
|
|
|
|
getter_AddRefs(localDir));
|