openbsd-ports/www/mozilla-firefox/patches/patch-xpcom_io_nsAppFileLocationProvider_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

19 lines
886 B
Plaintext

$OpenBSD: patch-xpcom_io_nsAppFileLocationProvider_cpp,v 1.6 2012/09/01 13:56:45 landry Exp $
Lookup for plugins in LOCALBASE
--- xpcom/io/nsAppFileLocationProvider.cpp.orig Wed Aug 15 07:48:38 2012
+++ xpcom/io/nsAppFileLocationProvider.cpp Sun Aug 19 13:50:41 2012
@@ -206,12 +206,7 @@ nsAppFileLocationProvider::GetFile(const char *prop, b
#ifdef XP_UNIX
else if (nsCRT::strcmp(prop, NS_SYSTEM_PLUGINS_DIR) == 0) {
#ifdef ENABLE_SYSTEM_EXTENSION_DIRS
- static const char *const sysLPlgDir =
-#if defined(HAVE_USR_LIB64_DIR) && defined(__LP64__)
- "/usr/lib64/mozilla/plugins";
-#else
- "/usr/lib/mozilla/plugins";
-#endif
+ static const char *const sysLPlgDir = "${LOCALBASE}/lib/mozilla/plugins";
rv = NS_NewNativeLocalFile(nsDependentCString(sysLPlgDir),
false, getter_AddRefs(localFile));
#else