openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_xre_nsXREDirProvider_cpp
landry ddd3e93eae Lo and behold, update to mozilla-firefox 4.0 !
Too much changes to list them, just enjoy it. Thanks to the ones who
tested the betas/rc.
ok jasper@
2011-03-30 21:39:14 +00:00

17 lines
682 B
Plaintext

$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.4 2011/03/30 21:39:14 landry Exp $
--- toolkit/xre/nsXREDirProvider.cpp.orig Wed Feb 23 06:53:53 2011
+++ toolkit/xre/nsXREDirProvider.cpp Sat Feb 26 09:25:37 2011
@@ -1169,11 +1169,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));