openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_xre_nsXREDirProvider_cpp
martynas 9944b0d1c5 it is the right time to update to mozilla-firefox-3.0.4, which has
been tested good enough, and i've fixed all the issues i'm aware
of.  furthermore 2.0 branch has basically reached eol, since there
will be only one minor update (2.0.0.19)
discussed with kurt@, naddy@ and porters
pkgname change handling help naddy@
ok naddy@
2008-11-20 23:41:32 +00:00

17 lines
683 B
Plaintext

$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));