summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp')
-rw-r--r--www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp b/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
index cb0e7f7b9abd..9ea5eed32171 100644
--- a/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
+++ b/www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp
@@ -1,9 +1,10 @@
--- xulrunner/stub/nsXULStub.cpp~
+++ xulrunner/stub/nsXULStub.cpp
-@@ -202,6 +202,8 @@ main(int argc, char **argv)
+@@ -160,6 +160,9 @@ main(int argc, char **argv)
char greDir[MAXPATHLEN];
bool greFound = false;
++ setenv("MOZ_GMP_PATH", "%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko", 0);
+ setenv("MOZ_PLUGIN_PATH", "%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko", 0);
+
#if defined(XP_MACOSX)