summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-12-28 10:18:34 -0800
committerZac Medico <zmedico@gentoo.org>2018-12-28 10:19:09 -0800
commit97e55f75067a87c7dfd46d1a139cbd4e01bc70b9 (patch)
tree2d9f322fcf2ad7437fab88967475bc9312e1bf73
parentmedia-gfx/krita: Fix build with >=exiv2-0.27 (diff)
downloadgentoo-97e55f75067a87c7dfd46d1a139cbd4e01bc70b9.tar.gz
gentoo-97e55f75067a87c7dfd46d1a139cbd4e01bc70b9.tar.bz2
gentoo-97e55f75067a87c7dfd46d1a139cbd4e01bc70b9.zip
sys-apps/portage: 2.3.53-r1 revbump for bug 673900
Temporarily disable new FEATURES that require unshare, since they may not fail gracefully in some cases. Bug: https://bugs.gentoo.org/673900 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--sys-apps/portage/portage-2.3.53-r1.ebuild (renamed from sys-apps/portage/portage-2.3.53.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/portage/portage-2.3.53.ebuild b/sys-apps/portage/portage-2.3.53-r1.ebuild
index da25940d2043..749f0d8ed97c 100644
--- a/sys-apps/portage/portage-2.3.53.ebuild
+++ b/sys-apps/portage/portage-2.3.53-r1.ebuild
@@ -95,6 +95,13 @@ pkg_setup() {
python_prepare_all() {
distutils-r1_python_prepare_all
+ # Bug 673900 - FEATURES that require unshare may fail
+ # ungracefully if unshare support is somehow broken.
+ sed -e 's: ipc-sandbox::' \
+ -e 's:network-sandbox ::' \
+ -e 's: pid-sandbox::' \
+ -i cnf/make.globals || die
+
if use gentoo-dev; then
einfo "Disabling --dynamic-deps by default for gentoo-dev..."
sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \