File: 02_build_dont_unzip.patch

package info (click to toggle)
libxerces2-java 2.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,608 kB
  • sloc: java: 127,779; xml: 13,596; sh: 39; makefile: 10
file content (37 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download
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
--- a/build.xml
+++ b/build.xml
@@ -247,7 +247,7 @@
     <copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"
       tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
 
-    <!-- now deal with API's:  -->
+    <!-- not needed for Debian
     <unzip src="${src.apis.zip}" dest="${build.src}">
         <patternset
             includes="org/xml/sax/** 
@@ -270,6 +270,7 @@
                 org/w3c/dom/xpath/**"
         />
     </unzip>
+    -->
     
     <!-- substitute tokens as needed -->
     <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java" 
@@ -1233,7 +1234,7 @@
     <replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"
              token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>
  
-    <!-- now deal with API's:  -->
+    <!-- not needed for Debian
     <unzip src="${src.apis.zip}" dest="${build.src}">
         <patternset
             includes="org/xml/sax/** 
@@ -1256,7 +1257,7 @@
                 org/w3c/dom/xpath/**"
         />
     </unzip>
-
+    -->
 
     <!-- substitute tokens as needed -->
     <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"