summaryrefslogtreecommitdiffstats
path: root/recipes/xml-commons/xom-1.1
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2009-09-18 16:04:01 +0200
committerRobert Schuster <robertschuster@fsfe.org>2009-09-18 16:04:01 +0200
commit2e7c334a4f6b0882ee90c8be91f81d24e4d82496 (patch)
tree11c29c8c61eb8679015869fea7aab5e51cd8eec7 /recipes/xml-commons/xom-1.1
parent04800cfdf823ea3003eb1164c4d5dfd7e1db5679 (diff)
downloadopenembedded-2e7c334a4f6b0882ee90c8be91f81d24e4d82496.tar.gz
dom4j 1.6.1: New recipe (for Jalimo SVN).
dom4j-native 1.6.1: Dito. jaxen 1.1.1: Dito. xom 1.1: Dito. xpp2 2.1.10: Dito. xpp3 1.1.3.4.0: Dito.
Diffstat (limited to 'recipes/xml-commons/xom-1.1')
-rw-r--r--recipes/xml-commons/xom-1.1/04_remove_sun_import.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/xml-commons/xom-1.1/04_remove_sun_import.patch b/recipes/xml-commons/xom-1.1/04_remove_sun_import.patch
new file mode 100644
index 0000000000..71f659d9da
--- /dev/null
+++ b/recipes/xml-commons/xom-1.1/04_remove_sun_import.patch
@@ -0,0 +1,27 @@
+diff -Nur xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java
+--- xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java 2004-08-17 19:18:30.000000000 +0530
++++ xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java 2007-11-13 15:25:08.000000000 +0530
+@@ -24,9 +24,9 @@
+
+ import org.xml.sax.SAXException;
+
+-import com.sun.org.apache.xerces.internal.parsers.SAXParser;
+-import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration;
+-import com.sun.org.apache.xerces.internal.impl.Constants
++import org.apache.xerces.parsers.SAXParser;
++import org.apache.xerces.parsers.DTDConfiguration;
++import org.apache.xerces.impl.Constants
+ ;
+ /**
+ * <p>
+@@ -47,8 +47,8 @@
+
+ super(new DTDConfiguration());
+ // workaround for Java 1.5 beta 2 bugs
+- com.sun.org.apache.xerces.internal.util.SecurityManager manager
+- = new com.sun.org.apache.xerces.internal.util.SecurityManager();
++ org.apache.xerces.util.SecurityManager manager
++ = new org.apache.xerces.util.SecurityManager();
+ setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager);
+
+ }