Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/batik/files/, dev-java/batik/
Date: Sat, 28 Oct 2017 17:57:24
Message-Id: 1509213431.bace0280856b81f8196ef01a831d074a72c392ac.monsieurp@gentoo
1 commit: bace0280856b81f8196ef01a831d074a72c392ac
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 28 17:51:29 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 28 17:57:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bace0280
7
8 dev-java/batik: patch file against missing import.
9
10 Patch JaclInterpreterFactory.java against a missing import. We will
11 remove it once Batik devs decide to cut a new release.
12
13 Courtesy of Martin von Gagern <Martin.vGagern <AT> gmx.net>.
14
15 See: https://issues.apache.org/jira/browse/BATIK-1123
16 See: http://svn.apache.org/viewvc?view=revision&revision=1808872
17 Closes: https://bugs.gentoo.org/628812
18 Package-Manager: Portage-2.3.8, Repoman-2.3.3
19
20 dev-java/batik/batik-1.9.ebuild | 3 +++
21 dev-java/batik/files/batik-1.9-ImportInfo.patch | 10 ++++++++++
22 2 files changed, 13 insertions(+)
23
24 diff --git a/dev-java/batik/batik-1.9.ebuild b/dev-java/batik/batik-1.9.ebuild
25 index 364f452f0a0..a223d4116d9 100644
26 --- a/dev-java/batik/batik-1.9.ebuild
27 +++ b/dev-java/batik/batik-1.9.ebuild
28 @@ -48,6 +48,9 @@ java_prepare() {
29 java-ant_xml-rewrite -f ${file} -c -e javadoc -a failonerror -v no -a maxmemory -v 512m
30 done
31
32 + # See bug 628812.
33 + use tcl && epatch "${FILESDIR}/${P}-ImportInfo.patch"
34 +
35 cd lib || die
36 rm -v *.jar build/*.jar || die
37 use python && java-pkg_jar-from jython-2.7
38
39 diff --git a/dev-java/batik/files/batik-1.9-ImportInfo.patch b/dev-java/batik/files/batik-1.9-ImportInfo.patch
40 new file mode 100644
41 index 00000000000..103b99e1b96
42 --- /dev/null
43 +++ b/dev-java/batik/files/batik-1.9-ImportInfo.patch
44 @@ -0,0 +1,10 @@
45 +--- a/batik-script/src/main/java/org/apache/batik/script/jacl/JaclInterpreterFactory.java 2017-10-28 17:24:11.401276868 +0000
46 ++++ b/batik-script/src/main/java/org/apache/batik/script/jacl/JaclInterpreterFactory.java 2017-10-28 17:27:13.314255999 +0000
47 +@@ -20,6 +20,7 @@
48 +
49 + import java.net.URL;
50 +
51 ++import org.apache.batik.script.ImportInfo;
52 + import org.apache.batik.script.Interpreter;
53 + import org.apache.batik.script.InterpreterFactory;
54 +