Package: gnome-xcf-thumbnailer Version: 1.0-1.1 Severity: important Tags: patch User: lib...@packages.debian.org 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 created the patch that revise this problem. Could you check and apply this patch? 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 -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
--- gnome-xcf-thumbnailer-1.0.orig/xcf2png.c +++ gnome-xcf-thumbnailer-1.0/xcf2png.c @@ -70,10 +70,17 @@ png_bytep ptrans = NULL ; outfile = openout(flatspec.output_filename); +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 + libpng = png_create_write_struct(PNG_LIBPNG_VER_STRING, + NULL, + my_error_callback, + NULL); +#else libpng = png_create_write_struct(PNG_LIBPNG_VER_STRING, png_voidp_NULL, my_error_callback, png_error_ptr_NULL); +#endif if( !libpng ) FatalUnexpected(_("Couldn't initialize libpng library"));