diff -Nru leptonlib-1.68/debian/changelog leptonlib-1.68/debian/changelog --- leptonlib-1.68/debian/changelog 2011-04-14 14:30:34.000000000 +0900 +++ leptonlib-1.68/debian/changelog 2011-08-07 15:05:23.000000000 +0900 @@ -1,3 +1,10 @@ +leptonlib (1.68-4.1) unstable; urgency=low + + * Non-maintainer upload. + * libpng 1.5 transition. + + -- Nobuhiro Iwamatsu Sun, 07 Aug 2011 15:04:47 +0900 + leptonlib (1.68-4) unstable; urgency=low * Add webp support diff -Nru leptonlib-1.68/debian/control leptonlib-1.68/debian/control --- leptonlib-1.68/debian/control 2011-04-14 14:18:12.000000000 +0900 +++ leptonlib-1.68/debian/control 2011-08-07 15:08:58.000000000 +0900 @@ -1,7 +1,7 @@ Source: leptonlib Priority: optional Maintainer: Jeff Breidenbach -Build-Depends: debhelper (>= 5.0.0), libtiff4-dev (>= 3.7.4), libpng12-dev, libgif-dev (>= 4.1.6), libwebp-dev +Build-Depends: debhelper (>= 5.0.0), libtiff4-dev (>= 3.7.4), libpng12-dev | libpng-dev, libgif-dev (>= 4.1.6), libwebp-dev Standards-Version: 3.8.4 Section: graphics diff -Nru leptonlib-1.68/debian/patches/debian-changes-1.68-4.1 leptonlib-1.68/debian/patches/debian-changes-1.68-4.1 --- leptonlib-1.68/debian/patches/debian-changes-1.68-4.1 1970-01-01 09:00:00.000000000 +0900 +++ leptonlib-1.68/debian/patches/debian-changes-1.68-4.1 2011-08-07 15:09:01.000000000 +0900 @@ -0,0 +1,38 @@ +Description: Upstream changes introduced in version 1.68-4.1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + leptonlib (1.68-4.1) unstable; urgency=low + . + * Non-maintainer upload. + * libpng 1.5 transition. + . + The person named in the Author field signed this changelog entry. +Author: Nobuhiro Iwamatsu + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- leptonlib-1.68.orig/src/pngio.c ++++ leptonlib-1.68/src/pngio.c +@@ -107,6 +107,9 @@ + /* --------------------------------------------*/ + + #include "png.h" ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++# include ++#endif + + /* ----------------Set defaults for read/write options ----------------- */ + /* strip 16 bpp --> 8 bpp on reading png; default is for stripping */ diff -Nru leptonlib-1.68/debian/patches/series leptonlib-1.68/debian/patches/series --- leptonlib-1.68/debian/patches/series 1970-01-01 09:00:00.000000000 +0900 +++ leptonlib-1.68/debian/patches/series 2011-08-07 15:09:01.000000000 +0900 @@ -0,0 +1 @@ +debian-changes-1.68-4.1