* [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.6.1-libpng15.patch
@ 2011-09-13 12:51 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2011-09-13 12:51 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/09/13 12:51:10
Added: vtk-5.6.1-libpng15.patch
Log:
Fix building with libpng15 wrt #378393 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-libs/vtk/files/vtk-5.6.1-libpng15.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.1-libpng15.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.6.1-libpng15.patch?rev=1.1&content-type=text/plain
Index: vtk-5.6.1-libpng15.patch
===================================================================
http://bugs.gentoo.org/378393
--- VTK/IO/vtkPNGWriter.cxx
+++ VTK/IO/vtkPNGWriter.cxx
@@ -147,7 +147,7 @@
void vtkPNGWriteErrorFunction(png_structp png_ptr,
png_const_charp vtkNotUsed(error_msg))
{
- longjmp(png_ptr->jmpbuf, 1);
+ longjmp(png_jmpbuf(png_ptr), 1);
}
}
@@ -223,7 +223,7 @@
png_init_io(png_ptr, this->TempFP);
png_set_error_fn(png_ptr, png_ptr,
vtkPNGWriteErrorFunction, vtkPNGWriteWarningFunction);
- if (setjmp(png_ptr->jmpbuf))
+ if (setjmp(png_jmpbuf(png_ptr)))
{
fclose(this->TempFP);
this->SetErrorCode(vtkErrorCode::OutOfDiskSpaceError);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-13 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 12:51 [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.6.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