openbsd-ports/www/seamonkey/patches/patch-mozilla_toolkit_xre_nsXREDirProvider_cpp
landry 18d99d0513 Same change as done in productivity/sunbird and mail/mozilla-thunderbird,
harmonize default search paths for systemwide mozilla extensions and
plugins to ${LOCALBASE}/lib/mozilla/{plugins,extensions}. The
install.rdf files take care anyway of telling with which mozapp an xpi
extension is compatible.
2010-04-27 21:03:25 +00:00

17 lines
706 B
Plaintext

$OpenBSD: patch-mozilla_toolkit_xre_nsXREDirProvider_cpp,v 1.2 2010/04/27 21:03:25 landry Exp $
--- mozilla/toolkit/xre/nsXREDirProvider.cpp.orig Sat Dec 5 02:56:51 2009
+++ mozilla/toolkit/xre/nsXREDirProvider.cpp Sat Jan 16 16:31:41 2010
@@ -1144,11 +1144,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));