diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-12-27 18:05:09 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-12-27 19:48:31 +0100 |
commit | 671c9465b45394bc65c99c66e4eec15018ba37df (patch) | |
tree | dbf6261d60f6a0202bf987b4c1a66f567c6db71f /app-text | |
parent | sys-devel/autoconf-archive: added prefix keywords, bug #667266 (diff) | |
download | gentoo-671c9465b45394bc65c99c66e4eec15018ba37df.tar.gz gentoo-671c9465b45394bc65c99c66e4eec15018ba37df.tar.bz2 gentoo-671c9465b45394bc65c99c66e4eec15018ba37df.zip |
app-text/xmlto: fix compilation on Solaris
Fix a macro conflict where expansion results in incorrect code.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xmlto/xmlto-0.0.28-r1.ebuild | 5 |
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() { |