summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/xmlto/xmlto-0.0.28-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
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() {