From ca8a3f7f5989ac489fe9343c9b408e811c31f03c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 11 Aug 2015 13:22:54 +0000 Subject: 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 --- www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/libxul/files/patch-xulrunner-stub-nsXULStub.cpp') 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) -- cgit v1.2.3