xerces-j2/xerces-J2-2.11.0-XJavac-javavendors.patch

17 lines
955 B
Diff
Raw Permalink Normal View History

--- tools/org/apache/xerces/util/XJavac.java 2010-01-25 19:16:48.000000000 +0100
+++ tools/org/apache/xerces/util/XJavac.java-gil 2011-02-12 11:11:18.000000000 +0100
@@ -63,10 +63,12 @@
}
// need to do special things for Sun too and also
// for Apple, HP, FreeBSD, SableVM, Kaffe and Blackdown: a Linux port of Sun Java
- else if( (vendor.indexOf("SUN") >= 0) ||
+ else if( (vendor.indexOf("SUN") >= 0) ||
+ (vendor.indexOf("OPENJDK") >= 0) ||
(vendor.indexOf("BLACKDOWN") >= 0) ||
(vendor.indexOf("APPLE") >= 0) ||
(vendor.indexOf("HEWLETT-PACKARD") >= 0) ||
+ (vendor.indexOf("FREE SOFTWARE FOUNDATION") >= 0) ||
(vendor.indexOf("KAFFE") >= 0) ||
(vendor.indexOf("SABLE") >= 0) ||
(vendor.indexOf("FREEBSD") >= 0)) {