tags 662596 + patch
thanks

Dear maintainer,

I've prepared an NMU for partimage (versioned as 0.6.8-2.2). The diff
is attached to this message. I've not uploaded this NMU as I'm not a DD
but I hope it is useful for you.

Regards.
diff -Nru partimage-0.6.8/debian/changelog partimage-0.6.8/debian/changelog
--- partimage-0.6.8/debian/changelog	2011-11-18 23:06:09.000000000 +0100
+++ partimage-0.6.8/debian/changelog	2012-03-27 11:22:44.000000000 +0200
@@ -1,3 +1,12 @@
+partimage (0.6.8-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/03-ftbfs-zlib.patch: Fix FTBFS errors: 
+    "cannot convert 'gzFile_s**' to 'gzFile' for argument '1'". 
+    (Closes: #662596)
+
+ -- Mònica Ramírez Arceda <mon...@probeta.net>  Tue, 27 Mar 2012 00:26:40 +0200
+
 partimage (0.6.8-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru partimage-0.6.8/debian/patches/03-ftbfs-zlib.patch partimage-0.6.8/debian/patches/03-ftbfs-zlib.patch
--- partimage-0.6.8/debian/patches/03-ftbfs-zlib.patch	1970-01-01 01:00:00.000000000 +0100
+++ partimage-0.6.8/debian/patches/03-ftbfs-zlib.patch	2012-03-27 11:20:59.000000000 +0200
@@ -0,0 +1,36 @@
+Description: Fix FTBFS errors: cannot convert 'gzFile_s**' to 'gzFile' for argument '1'.
+Author: Mònica Ramírez Arceda <mon...@probeta.net>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662596
+Last-Update: 2012-03-27
+
+--- a/src/client/imagefile.h
++++ b/src/client/imagefile.h
+@@ -41,7 +41,7 @@
+   COptions m_options;
+ 
+   FILE *m_fImageFile;
+-  gzFile *m_gzImageFile;
++  gzFile m_gzImageFile;
+   BZFILE *m_bzImageFile;
+ 
+   int m_nFdImage;
+--- a/src/client/imagefile.cpp
++++ b/src/client/imagefile.cpp
+@@ -783,7 +783,7 @@
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+       showDebug(1, "open gzip\n");
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
++      m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
+       if (m_gzImageFile == NULL)
+ 	{
+ 	  showDebug(1, "error:%d %s\n", errno, strerror(errno));
+@@ -1098,7 +1098,7 @@
+     }
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb");
++      m_gzImageFile = gzdopen(m_nFdImage, "rb");
+       if (m_gzImageFile == NULL)
+         THROW(ERR_ERRNO, errno);
+       else
diff -Nru partimage-0.6.8/debian/patches/series partimage-0.6.8/debian/patches/series
--- partimage-0.6.8/debian/patches/series	2011-11-18 23:05:38.000000000 +0100
+++ partimage-0.6.8/debian/patches/series	2012-03-27 11:11:24.000000000 +0200
@@ -1,3 +1,4 @@
 # Debian patches for partimage
 01-openssl.patch
 02-format-security.patch
+03-ftbfs-zlib.patch

Reply via email to