Source: xcftools
Version: 1.0.7-2
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
--- xcftools-1.0.7.orig/xcf2png.c
+++ xcftools-1.0.7/xcf2png.c
@@ -59,7 +59,14 @@ my_error_callback(png_structp png_ptr, p
FatalUnexpected(_(Libpng error '%s'),errormsg);
}
-
+#ifndef png_voidp_NULL
+#define png_voidp_NULL NULL
+#endif
+
+#ifndef png_error_ptr_NULL
+#define png_error_ptr_NULL NULL
+#endif
+
static void
init_output(void)
{