Package: chimera2
Version: 2.0a19-5.1
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 transition?

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


-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -u chimera2-2.0a19/image/png.c chimera2-2.0a19/image/png.c
--- chimera2-2.0a19/image/png.c
+++ chimera2-2.0a19/image/png.c
@@ -238,7 +238,7 @@
     if (!png)
         return;
 
-    if (setjmp(png->state->jmpbuf))
+	if (setjmp(png_jmpbuf((png->state))))
         return;
 
     if (png->state) {
@@ -260,7 +260,7 @@
 {
     pngState *png = (pngState *) pointer;
 
-    if (setjmp(png->state->jmpbuf))
+    if (setjmp(png_jmpbuf((png->state))))
         return image_error;
 
     if (len > png->lenSoFar) {
@@ -293,7 +293,7 @@
     png->info = png_create_info_struct(png->state);
     assert(png->state && png->info);
 
-    if (setjmp(png->state->jmpbuf)) {
+    if (setjmp(png_jmpbuf((png->state)))) {
         png_destroy_read_struct(&png->state, &png->info, NULL);
         png->state = 0;
         png->info = 0;
diff -u chimera2-2.0a19/debian/changelog chimera2-2.0a19/debian/changelog
--- chimera2-2.0a19/debian/changelog
+++ chimera2-2.0a19/debian/changelog
@@ -1,3 +1,10 @@
+chimera2 (2.0a19-5.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * linpng transition.
+
+ -- Nobuhiro Iwamatsu <[email protected]>  Mon, 30 May 2011 12:22:31 +0900
+
 chimera2 (2.0a19-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.

Reply via email to