summaryrefslogtreecommitdiff
path: root/databases/postgresql-jdbc/files/patch-build-xml
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-jdbc/files/patch-build-xml')
-rw-r--r--databases/postgresql-jdbc/files/patch-build-xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/postgresql-jdbc/files/patch-build-xml b/databases/postgresql-jdbc/files/patch-build-xml
new file mode 100644
index 000000000000..19b135090bd7
--- /dev/null
+++ b/databases/postgresql-jdbc/files/patch-build-xml
@@ -0,0 +1,14 @@
+--- build.xml.orig Tue Feb 1 08:27:53 2005
++++ build.xml Fri Feb 11 00:33:41 2005
+@@ -105,10 +105,7 @@
+
+ <target name="compile" depends="prepare,check_versions,driver">
+
+- <available classname="org.postgresql.Driver" property="old.driver.present" />
+- <fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" />
+-
+- <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
++ <javac includeAntRuntime="no" classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
+ <!-- This is the core of the driver. It is common for all versions. -->
+ <include name="${package}/*.java" />
+ <include name="${package}/core/**" />