firefox: disable off main thread rendering. fixes #2308.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'firefox'.
|
# Template build file for 'firefox'.
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=40.0.2
|
version=40.0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mozilla-release"
|
wrksrc="mozilla-release"
|
||||||
short_desc="Lightweight gecko-based web browser"
|
short_desc="Lightweight gecko-based web browser"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
@@ -114,4 +114,7 @@ do_install() {
|
|||||||
|
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
|
||||||
ln -sf firefox ${DESTDIR}/usr/lib/firefox/firefox-bin
|
ln -sf firefox ${DESTDIR}/usr/lib/firefox/firefox-bin
|
||||||
|
|
||||||
|
echo '// https://github.com/voidlinux/void-packages/issues/2308' >> $DESTDIR/usr/lib/firefox/browser/defaults/preferences/vendor.js
|
||||||
|
echo 'pref("layers.offmainthreadcomposition.enabled", false);' >> $DESTDIR/usr/lib/firefox/browser/defaults/preferences/vendor.js
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user