packages: eboard/eboard-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new
adamg
adamg at pld-linux.org
Sat Feb 11 12:29:32 CET 2012
Author: adamg Date: Sat Feb 11 11:29:32 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/eboard:
eboard-libpng15.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/eboard/eboard-libpng15.patch
diff -u /dev/null packages/eboard/eboard-libpng15.patch:1.1
--- /dev/null Sat Feb 11 12:29:32 2012
+++ packages/eboard/eboard-libpng15.patch Sat Feb 11 12:29:27 2012
@@ -0,0 +1,16 @@
+--- eboard-1.1.1/cimg.cc~ 2008-02-22 16:51:22.000000000 +0100
++++ eboard-1.1.1/cimg.cc 2012-02-11 12:13:32.243687703 +0100
+@@ -94,11 +94,11 @@
+ ct == PNG_COLOR_TYPE_GRAY_ALPHA)
+ png_set_gray_to_rgb(pngp, infp);
+
+- 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);
+ }
+
================================================================
More information about the pld-cvs-commit
mailing list