* [gentoo-commits] gentoo-x86 commit in games-sports/speed-dreams/files: speed-dreams-1.4.0-libpng15.patch
@ 2011-06-14 22:00 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2011-06-14 22:00 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 11/06/14 22:00:21
Added: speed-dreams-1.4.0-libpng15.patch
Log:
add patch for building against libpng15 (bug #371651)
(Portage version: 2.1.9.42/cvs/Linux i686)
Revision Changes Path
1.1 games-sports/speed-dreams/files/speed-dreams-1.4.0-libpng15.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/speed-dreams/files/speed-dreams-1.4.0-libpng15.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/speed-dreams/files/speed-dreams-1.4.0-libpng15.patch?rev=1.1&content-type=text/plain
Index: speed-dreams-1.4.0-libpng15.patch
===================================================================
--- a/src/libs/tgfclient/img.cpp
+++ b/src/libs/tgfclient/img.cpp
@@ -98,7 +98,7 @@
return (unsigned char *)NULL;
}
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
/* Free all of the memory associated with the png_ptr and info_ptr */
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
@@ -229,7 +229,7 @@
return -1;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
png_destroy_write_struct(&png_ptr, &info_ptr);
fclose(fp);
return -1;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-14 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14 22:00 [gentoo-commits] gentoo-x86 commit in games-sports/speed-dreams/files: speed-dreams-1.4.0-libpng15.patch Michael Sterrett (mr_bones_)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox