openbsd-ports/www/seamonkey/patches/patch-mozilla_toolkit_xre_nsXREDirProvider_cpp
landry 4026e2478b Update to seamonkey 2.2, based on Firefox/Thunderbird/Gecko 5.
See http://www.seamonkey-project.org/releases/seamonkey2.2/ for details.
- sync ipc patches from Firefox
- remove a bunch of useless patches
- install under lib/seamonkey-2.2 instead of using our homegrown install
  target.
- install langpacks as plain xpi instead of unzipping them, greatly
  shrinking PLIST
2011-07-24 07:31:57 +00:00

17 lines
706 B
Plaintext

$OpenBSD: patch-mozilla_toolkit_xre_nsXREDirProvider_cpp,v 1.3 2011/07/24 07:31:57 landry Exp $
--- mozilla/toolkit/xre/nsXREDirProvider.cpp.orig Mon Jun 27 05:11:18 2011
+++ mozilla/toolkit/xre/nsXREDirProvider.cpp Sat Jul 2 11:40:44 2011
@@ -1154,11 +1154,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));