commit: e84c6a3846794ff32a72a2971b367b02d9f58856
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 03:46:31 2016 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 03:46:31 2016 +0000
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=e84c6a38
Revert pax-marking on jit useflag, it will still cause a segfault on
hardened.
www-client/firefox/firefox-44.0_beta9.ebuild | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/www-client/firefox/firefox-44.0_beta9.ebuild
b/www-client/firefox/firefox-44.0_beta9.ebuild
index 97d96e3..e2bba63 100644
--- a/www-client/firefox/firefox-44.0_beta9.ebuild
+++ b/www-client/firefox/firefox-44.0_beta9.ebuild
@@ -358,9 +358,12 @@ PROFILE_EOF
|| die
fi
- # Only required for plugins such as adobe flash.
- pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
-
+ # Required in order to use plugins and even run firefox on hardened,
with jit useflag.
+ if use jit; then
+ pax-mark m
"${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
+ else
+ pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
+ fi
# very ugly hack to make firefox not sigbus on sparc
# FIXME: is this still needed??