From 4c287330b21749142162cd82864a8ef485387e43 Mon Sep 17 00:00:00 2001 From: Dirk Meyer 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/vtk5') 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 v1.2.3