* [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.4.2-libpng14.patch
@ 2010-03-11 20:31 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-03-11 20:31 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/03/11 20:31:05
Added: vtk-5.4.2-libpng14.patch
Log:
Fix building with libpng14.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-libs/vtk/files/vtk-5.4.2-libpng14.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch?rev=1.1&content-type=text/plain
Index: vtk-5.4.2-libpng14.patch
===================================================================
--- IO/vtkPNGReader.cxx
+++ IO/vtkPNGReader.cxx
@@ -116,7 +116,7 @@
// minimum of a byte per pixel
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
{
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
// add alpha if any alpha found
@@ -225,7 +225,7 @@
// minimum of a byte per pixel
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
{
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
// add alpha if any alpha found
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-11 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 20:31 [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.4.2-libpng14.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