[mysql-connector-java] 03/03: Add wheezy-ftbfs.patch

Markus Koschany apo at moszumanska.debian.org
Sat Jun 25 16:13:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch wheezy
in repository mysql-connector-java.

commit 42a21fc0d1ea5d83941cb28203186c70d2b627a4
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jun 25 17:16:02 2016 +0200

    Add wheezy-ftbfs.patch
---
 debian/changelog                  |  2 ++
 debian/patches/series             |  1 +
 debian/patches/wheezy-ftbfs.patch | 27 +++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3f53349..be8ad51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ mysql-connector-java (5.1.39-1~deb7u1) wheezy-security; urgency=high
     subset of MySQL Connectors accessible data.
   * Relax build-dependency on default-jdk.
   * Do not build the JDBC 4+ implementation which requires Java 8.
+  * Add wheezy-ftbfs.patch and work around a FTBFS that occurs in Wheezy due to
+    non-existent method.
 
  -- Markus Koschany <apo at debian.org>  Sat, 25 Jun 2016 16:48:11 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 2e7cf14..b36e657 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-disable-hibernate-fabric.patch
 0004-skip-jdk-check.patch
 remove-JDBC-4-classes.patch
+wheezy-ftbfs.patch
diff --git a/debian/patches/wheezy-ftbfs.patch b/debian/patches/wheezy-ftbfs.patch
new file mode 100644
index 0000000..d47e072
--- /dev/null
+++ b/debian/patches/wheezy-ftbfs.patch
@@ -0,0 +1,27 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sat, 25 Jun 2016 17:14:51 +0200
+Subject: wheezy ftbfs
+
+Work around "method does not override or implement a method from a supertype"
+error.
+---
+ src/com/mysql/jdbc/NonRegisteringDriver.java | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/com/mysql/jdbc/NonRegisteringDriver.java b/src/com/mysql/jdbc/NonRegisteringDriver.java
+index 32d481a..b8a8dfa 100644
+--- a/src/com/mysql/jdbc/NonRegisteringDriver.java
++++ b/src/com/mysql/jdbc/NonRegisteringDriver.java
+@@ -907,8 +907,8 @@ public class NonRegisteringDriver implements java.sql.Driver {
+         }
+     }
+ 
+-    @Override
+-    public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
+-        throw new java.sql.SQLFeatureNotSupportedException();
+-    }
++   // @Override
++   // public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
++   //     throw new java.sql.SQLFeatureNotSupportedException();
++   // }
+ }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mysql-connector-java.git



More information about the pkg-java-commits mailing list