diff --git a/debian/changelog b/debian/changelog index 6dff6b8..2cfaecd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dvdisaster (0.72.3-2) unstable; urgency=low + + * debian/patches/libpng15: Build with libpng15. (Closes: #649555) + + -- TANIGUCHI Takaki Mon, 19 Mar 2012 11:08:53 +0900 + dvdisaster (0.72.3-1) unstable; urgency=low [ Rogério Brito ] diff --git a/debian/patches/libpng15 b/debian/patches/libpng15 new file mode 100644 index 0000000..a8c381b --- /dev/null +++ b/debian/patches/libpng15 @@ -0,0 +1,38 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + dvdisaster (0.72.3-1+libpng151) unstable; urgency=low + . + * Build with libpng15. +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: + +--- dvdisaster-0.72.3.orig/tools/pngio.h ++++ dvdisaster-0.72.3/tools/pngio.h +@@ -21,6 +21,10 @@ + #define PNGIO_H + + #include ++#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ #include ++#endif ++ + + typedef struct + { char *name;