commit: 7bfef0ed0bc61eaee2088072558d37e11818cfe1
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 4 04:21:16 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 4 04:21:16 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfef0ed
Revert "dev-lang/python: disable MPROTECT"
This reverts commit b8cb87b5af9ab23e60864a4c66988c0f595f5b77.
dev-lang/python/python-2.7.12.ebuild | 7 ++++++-
dev-lang/python/python-3.4.5.ebuild | 7 ++++++-
dev-lang/python/python-3.5.2.ebuild | 7 ++++++-
3 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/dev-lang/python/python-2.7.12.ebuild
b/dev-lang/python/python-2.7.12.ebuild
index 2901f8f..992882b 100644
--- a/dev-lang/python/python-2.7.12.ebuild
+++ b/dev-lang/python/python-2.7.12.ebuild
@@ -216,7 +216,12 @@ src_compile() {
cd "${BUILD_DIR}" || die
emake
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {
diff --git a/dev-lang/python/python-3.4.5.ebuild
b/dev-lang/python/python-3.4.5.ebuild
index 88f5362..433a3a3 100644
--- a/dev-lang/python/python-3.4.5.ebuild
+++ b/dev-lang/python/python-3.4.5.ebuild
@@ -175,7 +175,12 @@ src_compile() {
emake CPPFLAGS= CFLAGS= LDFLAGS=
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {
diff --git a/dev-lang/python/python-3.5.2.ebuild
b/dev-lang/python/python-3.5.2.ebuild
index a1f4150..ea66658 100644
--- a/dev-lang/python/python-3.5.2.ebuild
+++ b/dev-lang/python/python-3.5.2.ebuild
@@ -174,7 +174,12 @@ src_compile() {
emake CPPFLAGS= CFLAGS= LDFLAGS=
- pax-mark m python
+ # Work around bug 329499. See also bug 413751 and 457194.
+ if has_version dev-libs/libffi[pax_kernel]; then
+ pax-mark E python
+ else
+ pax-mark m python
+ fi
}
src_test() {