This patch adds /usr/lib/nsplugins to the search path for plugins. Note that mozilla/firefox/thunderbird/seamonkey handle dup plugins like this: First by mtime order (more recent takes precedence), second by alpha order. The point of this patch is to provide a place to install netscape-compatible plugins which can be used by any of mozilla/firefox/thunderbird/seamonkey, for example the acroread plugin. This obviates the code in nsplugins.eclass except for inst_plugin 21 Jul 2005 agriffis --- mozilla/xpcom/io/nsAppFileLocationProvider.cpp.agriffis 2004-01-21 20:01:19.000000000 -0500 +++ mozilla/xpcom/io/nsAppFileLocationProvider.cpp 2005-07-21 13:12:48.831514036 -0400 @@ -579,7 +579,7 @@ *_retval = new nsAppDirectoryEnumerator(this, keys); #else - static const char* keys[] = { nsnull, NS_USER_PLUGINS_DIR, NS_APP_PLUGINS_DIR, nsnull }; + static const char* keys[] = { nsnull, "/usr/lib/nsplugins", "/usr/lib/nsbrowser/plugins", NS_USER_PLUGINS_DIR, NS_APP_PLUGINS_DIR, nsnull }; if (!keys[0] && !(keys[0] = PR_GetEnv("MOZ_PLUGIN_PATH"))) { static const char nullstr = 0; keys[0] = &nullstr;