openbsd-ports/www/seamonkey/patches/patch-mozilla_toolkit_xre_nsXREDirProvider_cpp
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

17 lines
706 B
Plaintext

$OpenBSD: patch-mozilla_toolkit_xre_nsXREDirProvider_cpp,v 1.1 2010/04/03 09:30:15 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));