sys-apps/portage: revbump to 2.3.59-r1 for bug 675868
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Jan 2019 19:41:43 +0000 (11:41 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Jan 2019 19:47:08 +0000 (11:47 -0800)
Bug: https://bugs.gentoo.org/675868
Reported-by: Ivan Ivanich <ivanich@ivanich.org.ua>
See: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d66f4238e6b5dca2bbc0fb04f64c67f3e0bc3586
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-apps/portage/portage-2.3.59-r1.ebuild [moved from sys-apps/portage/portage-2.3.59.ebuild with 98% similarity]

similarity index 98%
rename from sys-apps/portage/portage-2.3.59.ebuild
rename to sys-apps/portage/portage-2.3.59-r1.ebuild
index 4bf3a6b2dedfcdac6fe8302853ea7bb23a61489b..20086e941716e49cd9ec29933508637b34480a5d 100644 (file)
@@ -102,6 +102,9 @@ pkg_setup() {
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
+       # apply d66f4238e6b5 for bug 675868
+       sed -e 's:OSError:EnvironmentError:' -i bin/pid-ns-init || die
+
        if use gentoo-dev; then
                einfo "Disabling --dynamic-deps by default for gentoo-dev..."
                sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \