summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 @@
}
}