public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-emulation/openmsx/files: openmsx-0.8.1-libpng15.patch
@ 2011-09-14 16:58 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-09-14 16:58 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/09/14 16:58:33

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

Revision  Changes    Path
1.1                  games-emulation/openmsx/files/openmsx-0.8.1-libpng15.patch

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

Index: openmsx-0.8.1-libpng15.patch
===================================================================
http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/trunk/src/video/PNG.cc?r1=11609&r2=12214

--- src/video/PNG.cc
+++ src/video/PNG.cc
@@ -167,7 +167,7 @@
 				"Attempted to create a surface with excessive height: "
 				<< height << ", max " << MAX_SIZE);
 		}
-		int bpp = png.info->channels * 8;
+		int bpp = png_get_channels(png.ptr, png.info) * 8;
 		assert(bpp == 24 || bpp == 32);
 		Uint32 redMask, grnMask, bluMask, alpMask;
 		if (OPENMSX_BIGENDIAN) {






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-emulation/openmsx/files: openmsx-0.8.1-libpng15.patch
@ 2013-01-24 18:01 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2013-01-24 18:01 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    13/01/24 18:01:44

  Removed:              openmsx-0.8.1-libpng15.patch
  Log:
  old
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-24 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24 18:01 [gentoo-commits] gentoo-x86 commit in games-emulation/openmsx/files: openmsx-0.8.1-libpng15.patch Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2011-09-14 16:58 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