commit: 671c9465b45394bc65c99c66e4eec15018ba37df
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 27 17:05:09 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 27 18:48:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671c9465
app-text/xmlto: fix compilation on Solaris
Fix a macro conflict where expansion results in incorrect code.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
app-text/xmlto/xmlto-0.0.28-r1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-text/xmlto/xmlto-0.0.28-r1.ebuild
b/app-text/xmlto/xmlto-0.0.28-r1.ebuild
index 6b8cf6a7ec3..f85deee63e7 100644
--- a/app-text/xmlto/xmlto-0.0.28-r1.ebuild
+++ b/app-text/xmlto/xmlto-0.0.28-r1.ebuild
@@ -30,6 +30,11 @@ DOCS="AUTHORS ChangeLog FAQ NEWS README THANKS"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.0.22-format_fo_passivetex_check.patch
+
+ # fix symbol clash on Solaris
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ sed -i -e 's/\(attrib\|val\)/XMLTO\1/g' xmlif/xmlif.l || die
+ fi
}
src_configure() {