Package: zgv
Version: 5.9-2
Severity: important
Tags: patch
User: [email protected]
Usertags: libpng15-transition

Hi,

I uploaded libpng 1.5.2 to experimental.
libpng maintainers plan to transition from libpng 1.2 to 1.5.
I am checking build it the package depend to libpng.

I noticed your package FTBFS by libpng 1.5.
I appended the patch that corrected this problem.
Could you smoothly cooperate in libpng 1.5 to shift?

Best regards,
  Nobuhiro

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u zgv-5.9/debian/changelog zgv-5.9/debian/changelog
--- zgv-5.9/debian/changelog
+++ zgv-5.9/debian/changelog
@@ -1,3 +1,10 @@
+zgv (5.9-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libpng 1.5.2 transition.
+
+ -- Nobuhiro Iwamatsu <[email protected]>  Thu, 26 May 2011 13:43:10 +0900
+
 zgv (5.9-2) unstable; urgency=high
 
   * Applied patch by Russell Marks to fix segmentation faults
only in patch2:
unchanged:
--- zgv-5.9.orig/src/readpng.c
+++ zgv-5.9/src/readpng.c
@@ -55,7 +55,6 @@
 fclose(global_png_infile);
 }
 
-
 void my_png_error(png_structp png_ptr,const char *message)
 {
 strncpy(jpeg_png_errmsg,message,JPEG_PNG_ERRMSG_SIZE-1);
@@ -63,7 +62,7 @@
 use_errmsg=1;
 
 /* cleanup is done after jump back, so just do that now... */
-longjmp(png_ptr->jmpbuf,1);
+longjmp(png_jmpbuf((png_ptr)),1);
 }
 
 
@@ -132,7 +131,7 @@
   return(_PICERR_NOMEM);
   }
 
-if(setjmp(png_ptr->jmpbuf))
+  if (setjmp(png_jmpbuf((png_ptr))))
   {
   /* if we get here, there was an error. */
   /* don't use local variables here, they may have been blasted */

Reply via email to