Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xmlto/
Date: Thu, 27 Dec 2018 18:48:57
Message-Id: 1545936511.671c9465b45394bc65c99c66e4eec15018ba37df.grobian@gentoo
1 commit: 671c9465b45394bc65c99c66e4eec15018ba37df
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 27 17:05:09 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 27 18:48:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671c9465
7
8 app-text/xmlto: fix compilation on Solaris
9
10 Fix a macro conflict where expansion results in incorrect code.
11
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13 Package-Manager: Portage-2.3.51, Repoman-2.3.11
14
15 app-text/xmlto/xmlto-0.0.28-r1.ebuild | 5 +++++
16 1 file changed, 5 insertions(+)
17
18 diff --git a/app-text/xmlto/xmlto-0.0.28-r1.ebuild b/app-text/xmlto/xmlto-0.0.28-r1.ebuild
19 index 6b8cf6a7ec3..f85deee63e7 100644
20 --- a/app-text/xmlto/xmlto-0.0.28-r1.ebuild
21 +++ b/app-text/xmlto/xmlto-0.0.28-r1.ebuild
22 @@ -30,6 +30,11 @@ DOCS="AUTHORS ChangeLog FAQ NEWS README THANKS"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${PN}-0.0.22-format_fo_passivetex_check.patch
26 +
27 + # fix symbol clash on Solaris
28 + if [[ ${CHOST} == *-solaris* ]] ; then
29 + sed -i -e 's/\(attrib\|val\)/XMLTO\1/g' xmlif/xmlif.l || die
30 + fi
31 }
32
33 src_configure() {