Control: tags 741990 + patch
Control: tags 741990 + pending

Dear maintainer,

I've prepared an NMU for eboard (versioned as 1.1.1-6.1) and
uploaded it to DELAYED/0. 

Regards.
diff -Nru eboard-1.1.1/debian/changelog eboard-1.1.1/debian/changelog
--- eboard-1.1.1/debian/changelog       2014-01-01 08:15:51.000000000 +0100
+++ eboard-1.1.1/debian/changelog       2016-04-07 16:00:08.000000000 +0200
@@ -1,3 +1,10 @@
+eboard (1.1.1-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with libpng16 (Closes: #741990)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Thu, 07 Apr 2016 
15:59:37 +0200
+
 eboard (1.1.1-6) unstable; urgency=low

   * debian/patches/96_ubuntu_gcc_4.6.dpatch: Added, thanks to Daniel T Chen
diff -Nru eboard-1.1.1/debian/patches/fix-build-png16.patch 
eboard-1.1.1/debian/patches/fix-build-png16.patch
--- eboard-1.1.1/debian/patches/fix-build-png16.patch   1970-01-01 
01:00:00.000000000 +0100
+++ eboard-1.1.1/debian/patches/fix-build-png16.patch   2016-04-07 
15:59:37.000000000 +0200
@@ -0,0 +1,18 @@
+Origin: https://sourceforge.net/p/eboard/bugs/133/
+Author: Thomas Klausner
+--- eboard-1.1.1.orig/cimg.cc
++++ eboard-1.1.1/cimg.cc
+@@ -94,11 +94,11 @@ CImg::CImg(const char *filename) {
+       ct == PNG_COLOR_TYPE_GRAY_ALPHA)
+     png_set_gray_to_rgb(pngp);
+
+-  alloc(pngp->width,pngp->height);
++  alloc(png_get_image_width(pngp, infp),png_get_image_height(pngp, infp));
+   if (!ok) { fclose(f); return; }
+   ok = 0;
+
+-  for(i=0;i<pngp->height;i++) {
++  for(i=0;i<png_get_image_height(pngp, infp);i++) {
+     png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
+   }
+
diff -Nru eboard-1.1.1/debian/patches/series eboard-1.1.1/debian/patches/series
--- eboard-1.1.1/debian/patches/series  2014-01-01 08:12:06.000000000 +0100
+++ eboard-1.1.1/debian/patches/series  2016-04-07 15:59:05.000000000 +0200
@@ -6,3 +6,4 @@
 91_fix_ftbfs_554315.dpatch
 95_ubuntu_gcc_4.4.dpatch
 96_ubuntu_gcc_4.6.dpatch
+fix-build-png16.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to