mysql-connector-java/javac-check.patch

17 lines
1.0 KiB
Diff

Description: Disable the JDK check
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
Index: mysql-connector-j-8.0.31/build.xml
===================================================================
--- mysql-connector-j-8.0.31.orig/build.xml
+++ mysql-connector-j-8.0.31/build.xml
@@ -405,7 +405,7 @@ See also com.mysql.cj.conf.PropertyDefin
<!-- Initialize the build directory and check requirements for compiling the driver code. -->
- <target name="-init" depends="-extra-libs-check, -compiler-check, -copy-files, -copy-notices-commercial, -copy-notices-gpl, -init-info-files">
+ <target name="-init" depends="-extra-libs-check, -copy-files, -copy-notices-commercial, -copy-notices-gpl, -init-info-files">
<!-- The following is needed as the classpath can't be modified dynamically, and not having this library present causes the build to fail. -->
<available property="com.mysql.cj.c3p0Present" classname="com.mchange.v2.c3p0.QueryConnectionTester" classpathref="com.mysql.cj.build.classpath" />
</target>