diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/mozilla/firefox/plugins-dir.patch | 14 | ||||
-rw-r--r-- | packages/mozilla/firefox_3.0.4.bb | 1 |
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" |