svn commit: r393805 - in head/www/firefox: . files
Jan Beich
jbeich at FreeBSD.org
Sun Aug 9 16:31:02 UTC 2015
Author: jbeich
Date: Sun Aug 9 16:31:01 2015
New Revision: 393805
URL: https://svnweb.freebsd.org/changeset/ports/393805
Log:
www/firefox: temporarily disable OMTC to avoid crashes
OMTC on X11 platforms uses BasicCompositor unless GL layers are
also enabled. Change the default value of its pref in about:config.
For now, bundled cairo is left as is pending more testing.
No upstream bug as I cannot reproduce reliably to get the stacktrace(s)
with a clean profile.
PR: 202174
Reported by: many
Tested by: Martin Birgmeier, Andrey Fesenko, Konstantin Belousov
MFH: 2015Q3
X-MFH-With: r393690
Added:
head/www/firefox/files/patch-modules-libpref-init-all.js (contents, props changed)
Modified:
head/www/firefox/Makefile (contents, props changed)
Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile Sun Aug 9 16:30:43 2015 (r393804)
+++ head/www/firefox/Makefile Sun Aug 9 16:31:01 2015 (r393805)
@@ -4,6 +4,7 @@
PORTNAME= firefox
DISTVERSION= 40.0
DISTVERSIONSUFFIX=.source
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
Added: head/www/firefox/files/patch-modules-libpref-init-all.js
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/firefox/files/patch-modules-libpref-init-all.js Sun Aug 9 16:31:01 2015 (r393805)
@@ -0,0 +1,15 @@
+--- modules/libpref/init/all.js.orig 2015-08-06 22:39:34 UTC
++++ modules/libpref/init/all.js
+@@ -4052,7 +4052,12 @@ pref("layers.max-active", -1);
+ pref("layers.tiles.adjust", true);
+
+ // Set the default values, and then override per-platform as needed
++#ifdef MOZ_TREE_CAIRO
+ pref("layers.offmainthreadcomposition.enabled", true);
++#else
++// Disable for system cairo on suspicion of causing random crashes
++pref("layers.offmainthreadcomposition.enabled", false);
++#endif
+ // Compositor target frame rate. NOTE: If vsync is enabled the compositor
+ // frame rate will still be capped.
+ // -1 -> default (match layout.frame_rate or 60 FPS)
More information about the svn-ports-all
mailing list