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:53:12 +0300
commit9fa57b47e844bf66f7d2dc8e35427d0c9135f2e8 (patch)
treecc676b2b20929e6c6d177d7d3da677290144ef03 /recipes-core/xml-commons/xom-1.2.10/04_remove_sun_import.patch
parentcb982821d0ca481c9e6d02af51b353dd2a930c68 (diff)
downloadmeta-java-9fa57b47e844bf66f7d2dc8e35427d0c9135f2e8.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 }