From e4cad4154569f243280365f9e4efae0c5111058e Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Fri, 9 May 2014 13:02:59 +0100 Subject: [PATCH] Add missing patch --- .gitignore | 2 +- jzlib-javadoc-fixes.patch | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 jzlib-javadoc-fixes.patch diff --git a/.gitignore b/.gitignore index 0c733ae..35c7013 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /*.tar.gz -/jzlib-*/ +/jzlib-1*/ /.project /noarch /*.src.rpm diff --git a/jzlib-javadoc-fixes.patch b/jzlib-javadoc-fixes.patch new file mode 100644 index 0000000..fbd18cb --- /dev/null +++ b/jzlib-javadoc-fixes.patch @@ -0,0 +1,21 @@ +--- src/main/java/com/jcraft/jzlib/ZStream.java.orig 2014-05-09 12:35:05.241400959 +0100 ++++ src/main/java/com/jcraft/jzlib/ZStream.java 2014-05-09 12:35:35.093886286 +0100 +@@ -371,6 +371,7 @@ + /** + * Those methods are expected to be override by Inflater and Deflater. + * In the future, they will become abstract methods. ++ * @return an error code + */ + public int end(){ return Z_OK; } + public boolean finished(){ return false; } +--- src/main/java/com/jcraft/jzlib/GZIPHeader.java.orig 2014-05-09 12:37:35.358812069 +0100 ++++ src/main/java/com/jcraft/jzlib/GZIPHeader.java 2014-05-09 12:37:40.267727366 +0100 +@@ -37,7 +37,7 @@ + import java.io.UnsupportedEncodingException; + + /** +- * @see "http://www.ietf.org/rfc/rfc1952.txt" ++ * See "http://www.ietf.org/rfc/rfc1952.txt" + */ + public class GZIPHeader implements Cloneable { +