Commit | Line | Data |
---|---|---|
6d0368eb JL |
1 | Don't unzip the sources which were bundled originally. Guix strips them from |
2 | the source and uses pre-build packages. | |
3 | ||
4 | Taken from https://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java/debian/patches/02_build_dont_unzip.patch?revision=14507 | |
5 | ||
6 | Index: b/build.xml | |
7 | =================================================================== | |
8 | --- a/build.xml | |
9 | +++ b/build.xml | |
10 | @@ -247,7 +247,7 @@ | |
11 | <copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"\r | |
12 | tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>\r | |
13 | \r | |
14 | - <!-- now deal with API's: -->\r | |
15 | + <!-- not needed for Debian\r | |
16 | <unzip src="${src.apis.zip}" dest="${build.src}">\r | |
17 | <patternset\r | |
18 | includes="org/xml/sax/** \r | |
19 | @@ -270,6 +270,7 @@ | |
20 | org/w3c/dom/xpath/**"\r | |
21 | />\r | |
22 | </unzip>\r | |
23 | + -->\r | |
24 | \r | |
25 | <!-- substitute tokens as needed -->\r | |
26 | <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java" \r | |
27 | @@ -1232,7 +1233,7 @@ | |
28 | <replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"\r | |
29 | token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>\r | |
30 | \r | |
31 | - <!-- now deal with API's: -->\r | |
32 | + <!-- not needed for Debian\r | |
33 | <unzip src="${src.apis.zip}" dest="${build.src}">\r | |
34 | <patternset\r | |
35 | includes="org/xml/sax/** \r | |
36 | @@ -1255,7 +1256,7 @@ | |
37 | org/w3c/dom/xpath/**"\r | |
38 | />\r | |
39 | </unzip>\r | |
40 | -\r | |
41 | + -->\r | |
42 | \r | |
43 | <!-- substitute tokens as needed -->\r | |
44 | <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java" \r |