/[gentoo-x86]/games-board/eboard/files/eboard-1.1.1-libpng15.patch
Gentoo

Contents of /games-board/eboard/files/eboard-1.1.1-libpng15.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Sep 17 16:37:04 2011 UTC (3 years, 3 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Fix building with libpng15 wrt #383199 by Diego Elio PettenĂ²

(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)

1 ssuominen 1.1 --- cimg.cc
2     +++ cimg.cc
3     @@ -94,11 +95,11 @@
4     ct == PNG_COLOR_TYPE_GRAY_ALPHA)
5     png_set_gray_to_rgb(pngp);
6    
7     - alloc(pngp->width,pngp->height);
8     + alloc(width,height);
9     if (!ok) { fclose(f); return; }
10     ok = 0;
11    
12     - for(i=0;i<pngp->height;i++) {
13     + for(i=0;i<height;i++) {
14     png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
15     }
16    

  ViewVC Help
Powered by ViewVC 1.1.20