Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/
Date: Tue, 17 Oct 2017 07:25:01
Message-Id: 1508225070.6b9ff912c8bc4db4d4cafe3d72e5803904391725.dlan@gentoo
1 commit: 6b9ff912c8bc4db4d4cafe3d72e5803904391725
2 Author: Tomas Mozes <tmozes <AT> sygic <DOT> com>
3 AuthorDate: Mon Oct 16 12:24:07 2017 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 07:24:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9ff912
7
8 app-emulation/xen-tools: fix building with gcc 7
9
10 Gentoo-Bug: 626008
11
12 Closes: https://github.com/gentoo/gentoo/pull/5962
13 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
14
15 app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 5 +++++
16 1 file changed, 5 insertions(+)
17
18 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
19 index 7d6fde136d8..ed261704df2 100644
20 --- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
21 +++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
22 @@ -256,6 +256,11 @@ src_prepare() {
23
24 mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
25
26 + # Fix building with gcc 7, Bug #634338
27 + # https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=f49fa658b53580cf2ad354d2bf1796766cc11222
28 + sed -e 's/name\[60\]/name\[100\]/g' \
29 + -i tools/misc/xenlockprof.c || die
30 +
31 # Fix texi2html build error with new texi2html, qemu.doc.html
32 sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die