diff options
author | Tomas Mozes <tmozes@sygic.com> | 2017-10-16 14:24:07 +0200 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2017-10-17 15:24:30 +0800 |
commit | 6b9ff912c8bc4db4d4cafe3d72e5803904391725 (patch) | |
tree | 0cd1169c0984f858557a8f9a1566b9e685b75a99 /app-emulation/xen-tools | |
parent | app-emulation/xen-tools: require pciutils for pci passthrough (diff) | |
download | gentoo-6b9ff912c8bc4db4d4cafe3d72e5803904391725.tar.gz gentoo-6b9ff912c8bc4db4d4cafe3d72e5803904391725.tar.bz2 gentoo-6b9ff912c8bc4db4d4cafe3d72e5803904391725.zip |
app-emulation/xen-tools: fix building with gcc 7
Gentoo-Bug: 626008
Closes: https://github.com/gentoo/gentoo/pull/5962
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r-- | app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild index 7d6fde136d83..ed261704df2d 100644 --- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild @@ -256,6 +256,11 @@ src_prepare() { mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die + # Fix building with gcc 7, Bug #634338 + # https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=f49fa658b53580cf2ad354d2bf1796766cc11222 + sed -e 's/name\[60\]/name\[100\]/g' \ + -i tools/misc/xenlockprof.c || die + # Fix texi2html build error with new texi2html, qemu.doc.html sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die |