app-emulation/xen: correct typo in source of vn. 4.6.1
authorIan Delaney <idella4@gentoo.org>
Thu, 14 Apr 2016 11:59:09 +0000 (19:59 +0800)
committerIan Delaney <idella4@gentoo.org>
Thu, 14 Apr 2016 12:07:01 +0000 (20:07 +0800)
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

index 3a1959d9fee710bb421eb7ac531562e9d83d3e39..240b96e906b5c1844ff3ca3499093c9ad4254a0c 100644 (file)
@@ -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
 }