openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_xre_nsXREDirProvider_cpp
landry 617089342c Update to firefox 15.0.
- see http://www.mozilla.org/en-US/firefox/15.0/releasenotes/
- add -Os hack to fix a relocation error when linking on ppc (as was
  done in tb since 10..)
- garbage collect nsSound.cpp, the original one uses libcanberra
  properly and thus sndio.
- remove patch from #750620, merged upstream (mfbt/double-conversion)
- remove patches from #747257, merged upstream (gstreamer fix)
- remove patches from #691898, merged upstream (yarr jit ppc)
2012-09-01 13:56:45 +00:00

18 lines
713 B
Plaintext

$OpenBSD: patch-toolkit_xre_nsXREDirProvider_cpp,v 1.14 2012/09/01 13:56:45 landry Exp $
Look for extensions in LOCALBASE
--- toolkit/xre/nsXREDirProvider.cpp.orig Wed Aug 15 07:48:34 2012
+++ toolkit/xre/nsXREDirProvider.cpp Sun Aug 19 13:50:39 2012
@@ -1177,11 +1177,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), false,
getter_AddRefs(localDir));