Skip to content

Commit

Permalink
dev-java/batik: patch file against missing import.
Browse files Browse the repository at this point in the history
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 <[email protected]>.

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
  • Loading branch information
monsieurp committed Oct 28, 2017
1 parent fe8f5f8 commit bace028
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-java/batik/batik-1.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions dev-java/batik/files/batik-1.9-ImportInfo.patch
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit bace028

Please sign in to comment.