diff -Nru nxcomp-3.5.0-2/debian/changelog nxcomp-3.5.0-2/debian/changelog --- nxcomp-3.5.0-2/debian/changelog 2013-01-15 10:53:45.000000000 +0000 +++ nxcomp-3.5.0-2/debian/changelog 2016-04-27 08:23:28.000000000 +0000 @@ -1,3 +1,15 @@ +nxcomp (3.5.0-2-0ubuntu3) yakkety; urgency=medium + + * d/p/fix-png1.6.patch: fix source after libpng API changes. + + -- Gianfranco Costamagna Wed, 27 Apr 2016 10:23:02 +0200 + +nxcomp (3.5.0-2-0ubuntu2) yakkety; urgency=medium + + * No-change rebuild for libpng soname change. + + -- Matthias Klose Sat, 23 Apr 2016 00:16:03 +0000 + nxcomp (3.5.0-2-0ubuntu1) raring; urgency=low * New upstream release. diff -Nru nxcomp-3.5.0-2/debian/patches/fix-png1.6.patch nxcomp-3.5.0-2/debian/patches/fix-png1.6.patch --- nxcomp-3.5.0-2/debian/patches/fix-png1.6.patch 1970-01-01 00:00:00.000000000 +0000 +++ nxcomp-3.5.0-2/debian/patches/fix-png1.6.patch 2016-04-27 08:23:00.000000000 +0000 @@ -0,0 +1,42 @@ +Description: Follow libpng1.6 API changes. +Author: Gianfranco Costamagna + +--- nxcomp-3.5.0-2.orig/Pgn.cpp ++++ nxcomp-3.5.0-2/Pgn.cpp +@@ -412,9 +412,10 @@ int DecompressPng16(unsigned char *compr + return -1; + } + ++ png_byte color_type = png_get_color_type(pngPtr, infoPtr); + png_read_info(pngPtr, infoPtr); + +- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) ++ if (color_type == PNG_COLOR_TYPE_PALETTE) + { + png_set_expand(pngPtr); + } +@@ -563,9 +564,9 @@ int DecompressPng24(unsigned char *compr + return -1; + } + ++ png_byte color_type = png_get_color_type(pngPtr, infoPtr); + png_read_info( pngPtr, infoPtr ) ; +- +- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) ++ if (color_type == PNG_COLOR_TYPE_PALETTE) + { + png_set_expand(pngPtr); + } +@@ -706,10 +707,11 @@ int DecompressPng32(unsigned char *compr + return -1; + } + ++ png_byte color_type = png_get_color_type(pngPtr, infoPtr); + png_read_info(pngPtr, infoPtr) ; + + +- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) ++ if (color_type == PNG_COLOR_TYPE_PALETTE) + { + png_set_expand(pngPtr); + } diff -Nru nxcomp-3.5.0-2/debian/patches/series nxcomp-3.5.0-2/debian/patches/series --- nxcomp-3.5.0-2/debian/patches/series 2013-01-15 10:53:45.000000000 +0000 +++ nxcomp-3.5.0-2/debian/patches/series 2016-04-27 08:22:34.000000000 +0000 @@ -2,3 +2,4 @@ 0002-x2go-patchset-makefile.patch 0003-x2go-patchset-xlib.patch 0004-sa_restorer.patch +fix-png1.6.patch