diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/xml-commons/xom-1.1 | |
download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/xml-commons/xom-1.1')
-rw-r--r-- | recipes-core/xml-commons/xom-1.1/04_remove_sun_import.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-core/xml-commons/xom-1.1/04_remove_sun_import.patch b/recipes-core/xml-commons/xom-1.1/04_remove_sun_import.patch new file mode 100644 index 0000000..71f659d --- /dev/null +++ b/recipes-core/xml-commons/xom-1.1/04_remove_sun_import.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | diff -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 | } | ||