mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-java/batik: patch file against missing import.
Patch JaclInterpreterFactory.java against a missing import. We will remove it once Batik devs decide to cut a new release. Courtesy of Martin von Gagern <Martin.vGagern@gmx.net>. See: https://issues.apache.org/jira/browse/BATIK-1123 See: http://svn.apache.org/viewvc?view=revision&revision=1808872 Closes: https://bugs.gentoo.org/628812 Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
@@ -48,6 +48,9 @@ java_prepare() {
|
||||
java-ant_xml-rewrite -f ${file} -c -e javadoc -a failonerror -v no -a maxmemory -v 512m
|
||||
done
|
||||
|
||||
# See bug 628812.
|
||||
use tcl && epatch "${FILESDIR}/${P}-ImportInfo.patch"
|
||||
|
||||
cd lib || die
|
||||
rm -v *.jar build/*.jar || die
|
||||
use python && java-pkg_jar-from jython-2.7
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/batik-script/src/main/java/org/apache/batik/script/jacl/JaclInterpreterFactory.java 2017-10-28 17:24:11.401276868 +0000
|
||||
+++ b/batik-script/src/main/java/org/apache/batik/script/jacl/JaclInterpreterFactory.java 2017-10-28 17:27:13.314255999 +0000
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
+import org.apache.batik.script.ImportInfo;
|
||||
import org.apache.batik.script.Interpreter;
|
||||
import org.apache.batik.script.InterpreterFactory;
|
||||
|
||||
Reference in New Issue
Block a user