From b74125f7b34055f38bb546439d35e8b5c84dc1b1 Mon Sep 17 00:00:00 2001
From: Zac Medico <zmedico@gentoo.org>
Date: Mon, 21 Oct 2019 12:48:16 -0700
Subject: [PATCH] sys-apps/portage: fixup 2.3.78 GetConfigTestCase

Bug: https://bugs.gentoo.org/698046
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico@gentoo.org>
---
 sys-apps/portage/portage-2.3.78.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/portage/portage-2.3.78.ebuild b/sys-apps/portage/portage-2.3.78.ebuild
index 8e7b92e07cce..051e9931397b 100644
--- a/sys-apps/portage/portage-2.3.78.ebuild
+++ b/sys-apps/portage/portage-2.3.78.ebuild
@@ -103,6 +103,9 @@ pkg_setup() {
 python_prepare_all() {
 	distutils-r1_python_prepare_all
 
+	# Apply 0299aedef74e47c0a68acf7905d8714c9578f125 for bug 698046.
+	sed -e 's|rsync -avP|rsync -LtvP|' -i lib/portage/tests/util/test_getconfig.py || die
+
 	if use gentoo-dev; then
 		einfo "Disabling --dynamic-deps by default for gentoo-dev..."
 		sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
-- 
2.26.2