diff --git a/debian/changelog b/debian/changelog
index 0916e1b444fe2e16df4d66b474a7b1c2d3da1413..89b46412aa65729a6e83357226aa25d97ecb71c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libpgjava (42.2.4-2) unstable; urgency=medium
+
+  * Ignore javadoc warnings, they are for unused files anyway. (Closes: #906377)
+
+ -- Christoph Berg <christoph.berg@credativ.de>  Mon, 27 Aug 2018 16:55:02 +0200
+
 libpgjava (42.2.4-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/patches/03-javadoc.patch b/debian/patches/03-javadoc.patch
new file mode 100644
index 0000000000000000000000000000000000000000..335a590b3859941dc51a72b29d61f4994c9e224f
--- /dev/null
+++ b/debian/patches/03-javadoc.patch
@@ -0,0 +1,11 @@
+--- a/pgjdbc/pom.xml
++++ b/pgjdbc/pom.xml
+@@ -438,7 +438,7 @@
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-javadoc-plugin</artifactId>
+           <configuration>
+-            <failOnWarnings>true</failOnWarnings>
++            <failOnWarnings>false</failOnWarnings>
+           </configuration>
+         </plugin>
+       </plugins>
diff --git a/debian/patches/series b/debian/patches/series
index 5c27cbb35558e91defacdd78d5c9669e5d2e6824..a78cc4a51cc09a5b4f3b0dd9407a27a914855738 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-missing-pom-configuration.patch
 02-scram-optional.patch
+03-javadoc.patch