$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.1 2008/11/20 23:41:32 martynas Exp $ --- toolkit/xre/nsXREDirProvider.cpp.orig Mon Mar 17 21:05:25 2008 +++ toolkit/xre/nsXREDirProvider.cpp Fri Jun 13 19:54:14 2008 @@ -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));