File: 0001-disable-dotnet-support.patch

package info (click to toggle)
saxonb 9.1.0.8%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,308 kB
  • sloc: java: 128,210; xml: 1,250; makefile: 20; sh: 13
file content (37 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 29 Aug 2011 11:21:08 +0200
Subject: [PATCH] disable dotnet support

---
 bj/net/sf/saxon/Configuration.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bj/net/sf/saxon/Configuration.java b/bj/net/sf/saxon/Configuration.java
index b95f98d..4ecb53a 100644
--- a/bj/net/sf/saxon/Configuration.java
+++ b/bj/net/sf/saxon/Configuration.java
@@ -1,6 +1,6 @@
 package net.sf.saxon;
 
-/*DOTNETONLY*/  import net.sf.saxon.dotnet.DotNetPlatform;
+/*DOTNETONLY*/  //import net.sf.saxon.dotnet.DotNetPlatform;
 
 import net.sf.saxon.event.*;
 import net.sf.saxon.evpull.PullEventSource;
@@ -249,7 +249,7 @@ public class Configuration implements Serializable, SourceResolver {
 
         /*DOTNETONLY*/ /*JAVAONLY*/ if (System.getProperty("java.vendor").equals("Jeroen Frijters")) {
             //System.err.println("Call to create .NET platform currently disabled in Configuration.java (needed for JDK1.4)");
-            /*DOTNETONLY*/ platform = DotNetPlatform.getInstance();
+            /*DOTNETONLY*/ //platform = DotNetPlatform.getInstance();
             /*DOTNETONLY*/ /*JAVAONLY*/ }
 //        System.err.println(System.getProperty("java.vendor"));
 //        System.err.println(platform.getClass().getName());
@@ -3540,4 +3540,4 @@ public class Configuration implements Serializable, SourceResolver {
 // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
 //
 // Contributor(s): none.
-//
\ No newline at end of file
+//
--