commit: e7f4ae036081464c52eb4bd8d61baf87dd4478d5
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 14 11:59:09 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 12:07:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f4ae03
app-emulation/xen: correct typo in source of vn. 4.6.1
noted in gentoo bug, set with an equivalent sed statement substituting
an upstream patch, the sed being completed in one line
Gentoo-bug: #575868
Package-Manager: portage-2.2.28
app-emulation/xen/xen-4.6.1.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/app-emulation/xen/xen-4.6.1.ebuild
b/app-emulation/xen/xen-4.6.1.ebuild
index 3a1959d..240b96e 100644
--- a/app-emulation/xen/xen-4.6.1.ebuild
+++ b/app-emulation/xen/xen-4.6.1.ebuild
@@ -146,6 +146,12 @@ src_prepare() {
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to
re-set setup.py"
+ # Bug #575868 converted to a sed statement, typo of one char
+ sed -e "s:granter’s:granter's:" -i xen/include/public/grant_table.h
+
+ # Bug #575868 converted to a sed statement, typo of one char
+ sed -e "s:granter’s:granter's:" -i xen/include/public/grant_table.h ||
die
+
epatch_user
}