diff options
Diffstat (limited to 'math/vtk5')
-rw-r--r-- | math/vtk5/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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: |