Search
j0ke.net Open Build Service
>
Projects
>
mozilla
>
nspluginwrapper
> plugin-dir.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File plugin-dir.patch of Package nspluginwrapper
--- src/npw-config.c.orig 2007-03-04 16:01:22.000000000 +0100 +++ src/npw-config.c 2007-03-29 19:30:24.000000000 +0200 @@ -136,9 +136,6 @@ static const char *get_system_mozilla_pl if (access("/etc/SuSE-release", F_OK) == 0) { static const char *suse_dirs[] = { LIBDIR "/browser-plugins", - LIBDIR "/firefox/plugins", - LIBDIR "/seamonkey/plugins", - "/opt/MozillaFirefox/" LIB "/plugins", }; dirs = suse_dirs; } @@ -186,7 +183,6 @@ static const char **get_mozilla_plugin_d { static const char *default_dirs[] = { "/usr/lib/mozilla/plugins", - "/usr/lib32/mozilla/plugins", // XXX how unfortunate "/usr/lib64/mozilla/plugins", "/usr/lib/browser-plugins", "/usr/lib64/browser-plugins", @@ -196,9 +192,6 @@ static const char **get_mozilla_plugin_d "/usr/lib64/seamonkey/plugins", "/opt/MozillaFirefox/lib/plugins", "/opt/MozillaFirefox/lib64/plugins", - "/usr/lib/nsbrowser/plugins", - "/usr/lib32/nsbrowser/plugins", // XXX how unfortunate - "/usr/lib64/nsbrowser/plugins", #if defined(__FreeBSD__) "/usr/X11R6/lib/browser_plugins", "/usr/X11R6/lib/firefox/plugins", @@ -223,7 +216,8 @@ static const char **get_mozilla_plugin_d if (dir && access(dir, F_OK) == 0) dirs[j++] = dir; } - dirs[j++] = get_user_mozilla_plugin_dir(); + /* no user plugins + dirs[j++] = get_user_mozilla_plugin_dir(); */ dirs[j] = NULL; return dirs; }