From: Fabian Groffen Date: Thu, 27 Dec 2018 17:05:09 +0000 (+0100) Subject: app-text/xmlto: fix compilation on Solaris X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=671c9465b45394bc65c99c66e4eec15018ba37df;p=gentoo.git app-text/xmlto: fix compilation on Solaris Fix a macro conflict where expansion results in incorrect code. Signed-off-by: Fabian Groffen Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- diff --git a/app-text/xmlto/xmlto-0.0.28-r1.ebuild b/app-text/xmlto/xmlto-0.0.28-r1.ebuild index 6b8cf6a7ec39..f85deee63e78 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() {