diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-08-11 13:22:54 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-08-11 13:22:54 +0000 |
commit | ca8a3f7f5989ac489fe9343c9b408e811c31f03c (patch) | |
tree | 975048d2c1b5ae4e089d5d1c66503f476a2fdb05 /www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp | |
parent | - Drop @dirrm* from plist (diff) |
Switch OpenH264 plugin to use environment variable
files/patch-system-openh264 causes patch churn on updates and hits
assertion with DEBUG=on[1]. Rework to use MOZ_GMP_PATH instead.
While here populate Last Updated field to avoid falling back to Epoch start
and disable Automatic Updates in an unlikely case of
- Cisco & Mozilla providing prebuilt version for FreeBSD
- Firefox running with root priveleges i.e., write permission under /usr/local
PR: 202218 [1]
Reported by: kib, pi [1]
Inspired by: Gentoo
MFH: 2015Q3
Notes
Notes:
svn path=/head/; revision=393941
Diffstat (limited to 'www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp')
-rw-r--r-- | www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp | 3 |
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) |