commit: 9118f7b507ff604a6d7ef142f9bb9890fd67baf2
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 22:13:39 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 22:16:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9118f7b5
app-emulation/xen-tools: reinstate fix for bash completion
This sed was dropped with 4.16, probably because it could not be used
verbatim from the 4.15 ebuilds. This reinstates the fix with a slightly
modified sed expression and while adjusting the path to
config/Paths.mk.in (was Config.mk).
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.../{xen-tools-4.16.0-r1.ebuild => xen-tools-4.16.0-r2.ebuild} | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-emulation/xen-tools/xen-tools-4.16.0-r1.ebuild
b/app-emulation/xen-tools/xen-tools-4.16.0-r2.ebuild
similarity index 99%
rename from app-emulation/xen-tools/xen-tools-4.16.0-r1.ebuild
rename to app-emulation/xen-tools/xen-tools-4.16.0-r2.ebuild
index 43eb6b355c52..280ccd68b1e4 100644
--- a/app-emulation/xen-tools/xen-tools-4.16.0-r1.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.16.0-r2.ebuild
@@ -359,6 +359,10 @@ src_prepare() {
sed -i '/SUBDIRS-$(CONFIG_QEMU_XEN)/s/^/#/g' tools/Makefile ||
die
fi
+ # Reset bash completion dir; Bug 472438
+ sed -e "s;^BASH_COMPLETION_DIR :=.*;BASH_COMPLETION_DIR :=
$(get_bashcompdir);" \
+ -i config/Paths.mk.in || die
+
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons.in || die