public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-board/eboard/files: eboard-1.1.1-libpng15.patch
@ 2011-09-17 16:37 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2011-09-17 16:37 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/09/17 16:37:04

  Added:                eboard-1.1.1-libpng15.patch
  Log:
  Fix building with libpng15 wrt #383199 by Diego Elio Pettenò
  
  (Portage version: 2.2.0_alpha55/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  games-board/eboard/files/eboard-1.1.1-libpng15.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/eboard/files/eboard-1.1.1-libpng15.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/eboard/files/eboard-1.1.1-libpng15.patch?rev=1.1&content-type=text/plain

Index: eboard-1.1.1-libpng15.patch
===================================================================
--- cimg.cc
+++ cimg.cc
@@ -94,11 +95,11 @@
       ct == PNG_COLOR_TYPE_GRAY_ALPHA)
     png_set_gray_to_rgb(pngp);
 
-  alloc(pngp->width,pngp->height);
+  alloc(width,height);
   if (!ok) { fclose(f); return; }
   ok = 0;
 
-  for(i=0;i<pngp->height;i++) {
+  for(i=0;i<height;i++) {
     png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
   }
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-17 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-17 16:37 [gentoo-commits] gentoo-x86 commit in games-board/eboard/files: eboard-1.1.1-libpng15.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox