openbsd-ports/www/mozilla-firefox/patches/patch-xpcom_io_nsAppFileLocationProvider_cpp
landry ee984af849 Update to firefox-10.0.2.
- Fixes MFSA-2012-01..11
- remove patch-gfx_qcms_qcmstypes_h & patch-toolkit_xre_glxtest_cpp,
  were commited upstream (bugs #651444 & #687320)
- remove patch-js_src_xpconnect_src_Makefile_in, dom_quickstubs.cpp hack
  was apparently only needed with gcc3
- remove patch-xpcom_base_nsStackWalk_cpp, codepath not reached/solaris
  only.
- add https://bug691898.bugzilla.mozilla.org/attachment.cgi?id=588391 to
  use yarr interpreter on ppc, bug #691898 still being worked on
- backport https://hg.mozilla.org/mozilla-central/rev/9cfdb612a026, fixes
endianess detection on BSDs using machine/endian.h (bug #714312)
2012-02-20 20:15:04 +00:00

19 lines
886 B
Plaintext

$OpenBSD: patch-xpcom_io_nsAppFileLocationProvider_cpp,v 1.5 2012/02/20 20:15:04 landry Exp $
Lookup for plugins in LOCALBASE
--- xpcom/io/nsAppFileLocationProvider.cpp.orig Wed Jan 11 18:15:09 2012
+++ xpcom/io/nsAppFileLocationProvider.cpp Sat Jan 14 20:33:38 2012
@@ -240,12 +240,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