summaryrefslogtreecommitdiffstats
path: root/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2017-05-21 16:25:52 -0700
committerMaxin B. John <maxin.john@intel.com>2017-05-29 13:47:09 +0300
commitc45ed0f8ddf613ce7f1ad9e5c80b8b2db3df4912 (patch)
treecc676b2b20929e6c6d177d7d3da677290144ef03 /recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
parentb1992e05e14788cd9d88ece41f9695747c4b7e53 (diff)
downloadmeta-java-c45ed0f8ddf613ce7f1ad9e5c80b8b2db3df4912.tar.gz
xom: unblacklist and update to v1.2.10
- License checksum changed (updated year) - Add SUMMARY and expand DESCRIPTION - Clone jaxen dependency from github, update to v1.1.6 - Move SRC_URI checksums to recommended location in recipe - Add virtual/javac-native to DEPENDS for RSS Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch')
-rw-r--r--recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch b/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
new file mode 100644
index 0000000..71f659d
--- /dev/null
+++ b/recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
@@ -0,0 +1,27 @@
1diff -Nur xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java
2--- xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java 2004-08-17 19:18:30.000000000 +0530
3+++ xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java 2007-11-13 15:25:08.000000000 +0530
4@@ -24,9 +24,9 @@
5
6 import org.xml.sax.SAXException;
7
8-import com.sun.org.apache.xerces.internal.parsers.SAXParser;
9-import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration;
10-import com.sun.org.apache.xerces.internal.impl.Constants
11+import org.apache.xerces.parsers.SAXParser;
12+import org.apache.xerces.parsers.DTDConfiguration;
13+import org.apache.xerces.impl.Constants
14 ;
15 /**
16 * <p>
17@@ -47,8 +47,8 @@
18
19 super(new DTDConfiguration());
20 // workaround for Java 1.5 beta 2 bugs
21- com.sun.org.apache.xerces.internal.util.SecurityManager manager
22- = new com.sun.org.apache.xerces.internal.util.SecurityManager();
23+ org.apache.xerces.util.SecurityManager manager
24+ = new org.apache.xerces.util.SecurityManager();
25 setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager);
26
27 }