summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-11 19:39:18 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-11 22:54:30 +0000
commitc6510d1c32926384f9c60451e5831b0301fed07a (patch)
treeb205ead0f12c55603cdb9bec4fdec8f1b97ed98e /dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch
parentdev-java/annogen: Stable for amd64. (diff)
downloadgentoo-c6510d1c32926384f9c60451e5831b0301fed07a.tar.gz
gentoo-c6510d1c32926384f9c60451e5831b0301fed07a.tar.bz2
gentoo-c6510d1c32926384f9c60451e5831b0301fed07a.zip
dev-java/xml-xmlbeans: Add a patch to get compilation to work with Java 8.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch')
-rw-r--r--dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch b/dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch
new file mode 100644
index 000000000000..9f2958bc243a
--- /dev/null
+++ b/dev-java/xml-xmlbeans/files/xml-xmlbeans-2.6.0-SchemaCompiler.java.patch
@@ -0,0 +1,14 @@
+--- src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java.orig 2015-11-11 15:58:46.578486000 +0000
++++ src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCompiler.java 2015-11-11 15:59:05.351486000 +0000
+@@ -217,8 +217,9 @@
+ boolean debug = (cl.getOpt("debug") != null);
+
+ String allowmdef = cl.getOpt("allowmdef");
+- Set mdefNamespaces = (allowmdef == null ? Collections.EMPTY_SET :
+- new HashSet(Arrays.asList(XmlListImpl.split_list(allowmdef))));
++ Set mdefNamespaces = Collections.EMPTY_SET;
++ // Set mdefNamespaces = (allowmdef == null ? Collections.EMPTY_SET :
++ // new HashSet(Arrays.asList(XmlListImpl.split_list(allowmdef))));
+
+ List extensions = new ArrayList();
+ if (cl.getOpt("extension") != null) {