sys-apps/portage: 2.3.50-r2 revbump for bug 667072
authorZac Medico <zmedico@gentoo.org>
Tue, 25 Sep 2018 21:50:09 +0000 (14:50 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Sep 2018 21:56:48 +0000 (14:56 -0700)
Closes: https://bugs.gentoo.org/667072
Package-Manager: Portage-2.3.50, Repoman-2.3.10
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-apps/portage/portage-2.3.50-r2.ebuild [moved from sys-apps/portage/portage-2.3.50-r1.ebuild with 96% similarity]

similarity index 96%
rename from sys-apps/portage/portage-2.3.50-r1.ebuild
rename to sys-apps/portage/portage-2.3.50-r2.ebuild
index 1c6ba953d001b9ac3d90250aea56d1a3f147c7d1..b7dec67420e17b08eb861a2db9ffdb5f67e71bde 100644 (file)
@@ -98,6 +98,11 @@ python_prepare_all() {
        # Apply fbc100e68802 for bug 667008
        sed -i 's:\[\[ -z ${PORTAGE_COMPRESS} \]\] && exit 0:if [[ -z ${PORTAGE_COMPRESS} ]]; then\n\tfind "${ED}" -name '\''*.ecompress'\'' -delete\n\texit 0\nfi:' bin/ecompress || die
 
+       # Apply 8a1d36088aa5 for bug 667072
+       sed -e 's:^find "${ED}" -name '\''\*.ecompress'\'' -delete -print0 [|]:find "${ED}" -name '\''*.ecompress'\'' -delete \\:' \
+               -e 's:\t___parallel_xargs -0 "${PORTAGE_BIN_PATH}"/ecompress-file:\t-exec "${PORTAGE_BIN_PATH}"/ecompress-file {} +:' \
+               -i bin/ecompress || die
+
        if use gentoo-dev; then
                einfo "Disabling --dynamic-deps by default for gentoo-dev..."
                sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \