openbsd-ports/www/galeon/patches/patch-mozilla_mozilla-embed-shell_cpp
ajacoutot 473d40ee82 - fix mozilla plugins directory
- regen WANTLIB+PLIST while here
2009-03-19 09:31:21 +00:00

14 lines
661 B
Plaintext

$OpenBSD: patch-mozilla_mozilla-embed-shell_cpp,v 1.1 2009/03/19 09:31:21 ajacoutot Exp $
--- mozilla/mozilla-embed-shell.cpp.orig Thu Mar 19 09:38:00 2009
+++ mozilla/mozilla-embed-shell.cpp Thu Mar 19 09:43:02 2009
@@ -250,6 +250,9 @@ mozilla_init_plugin_path ()
/* Add /usr/lib/mozilla/plugins (bug 149812) */
g_string_append (new_path, ":/usr/lib/mozilla/plugins");
+ /* OpenBSD stores plugins under ${LOCALBASE}/lib/mozilla-plugins */
+ g_string_append (new_path, ":${LOCALBASE}/lib/mozilla-plugins");
+
#ifdef GALEON_MOZILLA_HOME
/* Add the current mozilla build's plugins dir */
g_string_append (new_path, ":" GALEON_MOZILLA_HOME "/plugins");