17 lines
706 B
Plaintext
17 lines
706 B
Plaintext
$OpenBSD: patch-mozilla_toolkit_xre_nsXREDirProvider_cpp,v 1.5 2011/10/03 21:07:39 landry Exp $
|
|
--- mozilla/toolkit/xre/nsXREDirProvider.cpp.orig Sat Sep 17 03:35:21 2011
|
|
+++ mozilla/toolkit/xre/nsXREDirProvider.cpp Mon Sep 19 10:35:58 2011
|
|
@@ -1119,11 +1119,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), PR_FALSE,
|
|
getter_AddRefs(localDir));
|