summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-03-17 22:53:28 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-03-17 23:58:16 +0100
commitb503c7fe5a095f502c524f8287c181c3f5e62c42 (patch)
treeaa8096b9d01bb8690821627f2ddc63a4bc4f8acd /dev-java/xmldb/files
parentmedia-sound/gmusicbrowser: Remove old (diff)
downloadgentoo-b503c7fe5a095f502c524f8287c181c3f5e62c42.tar.gz
gentoo-b503c7fe5a095f502c524f8287c181c3f5e62c42.tar.bz2
gentoo-b503c7fe5a095f502c524f8287c181c3f5e62c42.zip
dev-java/xmldb: EAPI 6 bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-java/xmldb/files')
-rw-r--r--dev-java/xmldb/files/xmldb-20011111-enum.patch15
-rw-r--r--dev-java/xmldb/files/xmldb-20011111-unreachable.patch5
2 files changed, 17 insertions, 3 deletions
diff --git a/dev-java/xmldb/files/xmldb-20011111-enum.patch b/dev-java/xmldb/files/xmldb-20011111-enum.patch
new file mode 100644
index 00000000000..33a4b22b179
--- /dev/null
+++ b/dev-java/xmldb/files/xmldb-20011111-enum.patch
@@ -0,0 +1,15 @@
+--- a/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:05.540172602 +0000
++++ b/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:22.860172942 +0000
+@@ -168,9 +168,9 @@
+ }
+ }
+
+- Enumeration enum = namespaces.keys();
+- while ( enum.hasMoreElements() ) {
+- String key = (String) enum.nextElement();
++ Enumeration myEnum = namespaces.keys();
++ while ( myEnum.hasMoreElements() ) {
++ String key = (String) myEnum.nextElement();
+ newContent.append(" xmlns");
+ if (key.length() > 0) {
+ newContent.append(":");
diff --git a/dev-java/xmldb/files/xmldb-20011111-unreachable.patch b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch
index 3e081e6e2d4..a0476158c55 100644
--- a/dev-java/xmldb/files/xmldb-20011111-unreachable.patch
+++ b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch
@@ -1,6 +1,5 @@
-diff -ru xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java xmldb-patched/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java
---- xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2002-01-30 04:46:43.000000000 -0500
-+++ xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2005-06-26 21:37:59.000000000 -0400
+--- a/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2002-01-30 04:46:43.000000000 -0500
++++ b/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2005-06-26 21:37:59.000000000 -0400
@@ -133,7 +133,7 @@
}
}