Summary: | dev-java/batik-1.8 - cannot find symbol: class ImportInfo | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/apache/batik/pull/3 | ||
See Also: | https://issues.apache.org/jira/browse/BATIK-1123 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 543858 | ||
Attachments: | Add missing includes |
Description
Martin von Gagern
2015-06-13 08:56:12 UTC
Created attachment 405052 [details, diff]
Add missing includes
Index: batik-1.8.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.8.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 batik-1.8.ebuild --- batik-1.8.ebuild 7 Jun 2015 23:38:39 -0000 1.1 +++ batik-1.8.ebuild 13 Jun 2015 09:49:50 -0000 @@ -37,6 +37,18 @@ java-ant_xml-rewrite -f ${file} -c -e javadoc -a failonerror -v no -a maxmemory -v 512m done + # Add some missing imports. + # https://bugs.gentoo.org/show_bug.cgi?id=551952 + # https://issues.apache.org/jira/browse/BATIK-1123 + local imports=() + imports+=(sources/org/apache/batik/script/jpython/JPythonInterpreterFactory.java) + imports+=(sources/org/apache/batik/script/jacl/JaclInterpreterFactory.java) + for import in ${imports[@]}; do + einfo "Fixing missing import in ${import}" + sed -i '23i import org.apache.batik.script.ImportInfo;' ${import} + eend $? + done + cd lib rm -v *.jar build/*.jar || die use python && java-pkg_jar-from jython In this case, I prefer sed over a patch for the sole purpose of adding some missing imports. ;) + 13 Jun 2015; Patrice Clement <monsieurp@gentoo.org> batik-1.8.ebuild: + Add some missing imports to avoid a compiling issue courtesy of Martin von + Gagern <Martin.vGagern@gmx.net>. Fix bug 551952. + Thanks for the heads up. *** Bug 551964 has been marked as a duplicate of this bug. *** |