From e7d9ae83ea532a52884405f96393feab55b26afd Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 30 Mar 2010 07:18:04 +0000 Subject: - fix build for png-1.4.1 --- math/vtk5/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'math') diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile index b331e4640030..1cce7aedebe4 100644 --- a/math/vtk5/Makefile +++ b/math/vtk5/Makefile @@ -119,6 +119,11 @@ post-extract: ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${VTKSRCDIR}/Hybrid/vtkVRMLImporter.cxx +post-patch: + @${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ + ${VTKSRCDIR}/IO/vtkPNGReader.cxx + + # FSL links directly to libQVTKWidgetPlugin.so, so put it in a standard # library directory. pre-install: -- cgit