1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01_upstream_disable_examples_classes.dpatch by Barry Hawkins <barry@bytemason.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Add directives to exclude the compilation of problematic classes
6
## DP: shipped as part of the examples for this library.
8
--- commons-httpclient-2.0.2.orig/build.xml
9
+++ commons-httpclient-2.0.2/build.xml
11
destdir ="${build.home}/examples"
12
debug ="${compile.debug}"
13
deprecation ="${compile.deprecation}"
14
- optimize ="${compile.optimize}">
15
+ optimize ="${compile.optimize}"
16
+ excludes ="MultipartFileUploadApp.java,ClientApp.java">
17
<classpath refid="compile.classpath"/>