Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 583658 Details for
Bug 689810
www-client/firefox-68.0 does not load plugins
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
firefox-68.0.1-nsbrowser_plugins_directory.patch
firefox-68.0.1-nsbrowser_plugins_directory.patch (text/plain), 1.46 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2019-07-19 17:10:11 UTC
(
hide
)
Description:
firefox-68.0.1-nsbrowser_plugins_directory.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2019-07-19 17:10:11 UTC
Size:
1.46 KB
patch
obsolete
>--- /xpcom/io/nsAppFileLocationProvider.cpp >+++ /xpcom/io/nsAppFileLocationProvider.cpp >@@ -50,6 +50,7 @@ > # define NS_MACOSX_LOCAL_PLUGIN_DIR "OSXLocalPlugins" > #elif XP_UNIX > # define NS_SYSTEM_PLUGINS_DIR "SysPlugins" >+# define NS_SYSTEM_NSBROWSER_PLUGINS_DIR "SysNsBrowserPlugins" > #endif > > #define DEFAULTS_DIR_NAME NS_LITERAL_CSTRING("defaults") >@@ -187,6 +188,21 @@ > # else > rv = NS_ERROR_FAILURE; > # endif >+ } else if (nsCRT::strcmp(aProp, NS_SYSTEM_NSBROWSER_PLUGINS_DIR) == 0) { >+# ifdef ENABLE_SYSTEM_EXTENSION_DIRS >+ static const char* const sysLPlgDir = >+# if defined(HAVE_USR_LIB64_DIR) && defined(__LP64__) >+ "/usr/lib64/nsbrowser/plugins"; >+# elif defined(__OpenBSD__) || defined(__FreeBSD__) >+ "/usr/local/lib/nsbrowser/plugins"; >+# else >+ "/usr/lib/nsbrowser/plugins"; >+# endif >+ rv = NS_NewNativeLocalFile(nsDependentCString(sysLPlgDir), false, >+ getter_AddRefs(localFile)); >+# else >+ rv = NS_ERROR_FAILURE; >+# endif > } > # endif > #endif >@@ -501,7 +517,7 @@ > # ifdef XP_UNIX > static const char* keys[] = {nullptr, NS_USER_PLUGINS_DIR, > NS_APP_PLUGINS_DIR, NS_SYSTEM_PLUGINS_DIR, >- nullptr}; >+ NS_SYSTEM_NSBROWSER_PLUGINS_DIR, nullptr}; > # else > static const char* keys[] = {nullptr, NS_USER_PLUGINS_DIR, > NS_APP_PLUGINS_DIR, nullptr};
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 689810
:
582812
| 583658