Bug#636968: fim: diff for NMU version 0.3-beta-prerelease-1.3

2012-01-29 Thread Nobuhiro Iwamatsu
Hi, all. 2012/1/28 gregor herrmann : > On Fri, 27 Jan 2012 20:24:00 +0100, Jakub Wilk wrote: > >> >+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 >> >+    png_set_expand_gray_1_2_4_to_8(h->png); >> >+#else >> >     png_set_gray_1_2_4_to_8(h->png); >> >+#endif >> >> Won't that break wi

Bug#636968: fim: diff for NMU version 0.3-beta-prerelease-1.3

2012-01-27 Thread gregor herrmann
On Fri, 27 Jan 2012 20:24:00 +0100, Jakub Wilk wrote: > >+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 > >+png_set_expand_gray_1_2_4_to_8(h->png); > >+#else > > png_set_gray_1_2_4_to_8(h->png); > >+#endif > > Won't that break with libpng 2.0? I think it the condition should

Bug#636968: fim: diff for NMU version 0.3-beta-prerelease-1.3

2012-01-27 Thread Jakub Wilk
* gregor herrmann , 2012-01-26, 21:57: +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 + png_set_expand_gray_1_2_4_to_8(h->png); +#else png_set_gray_1_2_4_to_8(h->png); +#endif Won't that break with libpng 2.0? I think it the condition should be rather: (PNG_LIBPNG_