03bebf5e7a
Same comments as for firefox, plus: - rename js/src/jscompartment.cpp patch - remove patch-configure.in, not needed since 'gnome' component is disabled via configure args. - add patch-mail_installer_Makefile_in to not install the sdk headers/idl files
18 lines
878 B
Plaintext
18 lines
878 B
Plaintext
$OpenBSD: patch-mozilla_xpcom_io_nsAppFileLocationProvider_cpp,v 1.6 2012/02/20 20:17:49 landry Exp $
|
|
--- mozilla/xpcom/io/nsAppFileLocationProvider.cpp.orig Wed Jan 18 10:44:19 2012
|
|
+++ mozilla/xpcom/io/nsAppFileLocationProvider.cpp Sun Jan 22 22:21:49 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
|