diff options
author | 2022-04-18 00:13:39 +0200 | |
---|---|---|
committer | 2022-04-18 00:16:30 +0200 | |
commit | 9118f7b507ff604a6d7ef142f9bb9890fd67baf2 (patch) | |
tree | b2a8b12b451966a15aafee2617ee82635cb3552c /app-emulation | |
parent | app-emulation/xen-tools: update HOMEPAGE (diff) | |
download | gentoo-9118f7b507ff604a6d7ef142f9bb9890fd67baf2.tar.gz gentoo-9118f7b507ff604a6d7ef142f9bb9890fd67baf2.tar.bz2 gentoo-9118f7b507ff604a6d7ef142f9bb9890fd67baf2.zip |
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@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xen-tools/xen-tools-4.16.0-r2.ebuild (renamed from app-emulation/xen-tools/xen-tools-4.16.0-r1.ebuild) | 4 |
1 files changed, 4 insertions, 0 deletions
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 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 |