projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59575e
)
app-text/xmlto: fix compilation on Solaris
author
Fabian Groffen
<grobian@gentoo.org>
Thu, 27 Dec 2018 17:05:09 +0000
(18:05 +0100)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 27 Dec 2018 18:48:31 +0000
(19:48 +0100)
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
app-text/xmlto/xmlto-0.0.28-r1.ebuild
patch
|
blob
|
history
diff --git
a/app-text/xmlto/xmlto-0.0.28-r1.ebuild
b/app-text/xmlto/xmlto-0.0.28-r1.ebuild
index 6b8cf6a7ec398e63597343d0390b14dbad2c86f2..f85deee63e7818d14008a21b18152b1765c6499a 100644
(file)
--- 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() {