summaryrefslogtreecommitdiff
path: root/packages/mozilla
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-11-21 19:31:34 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2008-11-21 19:44:10 -0200
commitd09c754ec52a3f09f1cad6a34d12b9ef7283bc17 (patch)
treee7312c65bf0e9eb8a43c1fa8e9b865cb9ee32d15 /packages/mozilla
parent016a64fc951d3063f9cea0308883fd73e3fb600f (diff)
firefox 3.0.4: use /usr/lib/mozilla/plugins to load plugins
Diffstat (limited to 'packages/mozilla')
-rw-r--r--packages/mozilla/firefox/plugins-dir.patch14
-rw-r--r--packages/mozilla/firefox_3.0.4.bb1
2 files changed, 15 insertions, 0 deletions
diff --git a/packages/mozilla/firefox/plugins-dir.patch b/packages/mozilla/firefox/plugins-dir.patch
new file mode 100644
index 0000000000..bc0dfe7202
--- /dev/null
+++ b/packages/mozilla/firefox/plugins-dir.patch
@@ -0,0 +1,14 @@
+--- mozilla/browser/app/mozilla.in.orig 2007-10-05 10:29:26.000000000 +0300
++++ mozilla/browser/app/mozilla.in 2008-08-26 17:21:20.000000000 +0300
+@@ -54,6 +54,11 @@
+
+ moz_libdir=%MOZAPPDIR%
+
++if test -d /usr/lib/mozilla/plugins; then
++ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
++ export MOZ_PLUGIN_PATH
++fi
++
+ # Use run-mozilla.sh in the current dir if it exists
+ # If not, then start resolving symlinks until we find run-mozilla.sh
+ found=0
diff --git a/packages/mozilla/firefox_3.0.4.bb b/packages/mozilla/firefox_3.0.4.bb
index 2dce2e5549..83836d9117 100644
--- a/packages/mozilla/firefox_3.0.4.bb
+++ b/packages/mozilla/firefox_3.0.4.bb
@@ -12,6 +12,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/
file://jemalloc-tls.patch;patch=1 \
file://0001-Remove-Werror-from-build.patch;patch=1 \
file://0002-Fix-security-cross-compile-cpu-detection-error.patch;patch=1 \
+ file://plugins-dir.patch;patch=1 \
"
S = "${WORKDIR}/mozilla"