epiphany/epiphany-browser-plugins.patch

23 lines
875 B
Diff

--- embed/mozilla/Makefile.am
+++ embed/mozilla/Makefile.am
@@ -143,6 +143,7 @@
-DMOZILLA_HOME=\"$(MOZILLA_HOME)\" \
-DMOZILLA_PREFIX=\"$(MOZILLA_PREFIX)\" \
-DMOZILLA_NATIVE_PLUGINSDIR=\"$(libdir)/mozilla/plugins\" \
+ -DSUSE_PLUGINSDIR=\"$(libdir)/browser-plugins\" \
-DUA_VERSION=\"$(EPIPHANY_UA_VERSION)\" \
-DALLOW_PRIVATE_API \
$(AM_CPPFLAGS)
--- embed/mozilla/mozilla-embed-single.cpp
+++ embed/mozilla/mozilla-embed-single.cpp
@@ -366,8 +366,7 @@
MOZILLA_PREFIX "/lib/mozilla/plugins");
list = mozilla_init_plugin_add_unique_path (list,
MOZILLA_HOME "/plugins");
- list = mozilla_init_plugin_add_unique_path (list,
- MOZILLA_NATIVE_PLUGINSDIR);
+ list = mozilla_init_plugin_add_unique_path (list, SUSE_PLUGINSDIR);
#ifdef HAVE_PRIVATE_PLUGINS
list = mozilla_init_plugin_add_unique_path (list, PLUGINDIR);
#endif