aboutsummaryrefslogtreecommitdiff
path: root/math/vtk5
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-30 07:18:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-30 07:18:04 +0000
commit4c287330b21749142162cd82864a8ef485387e43 (patch)
tree9f2bc9fb4061f62ee49d585e166f74ed9fe64499 /math/vtk5
parentbfeab4ece5739a70a566769cc49ed183b7eaaca9 (diff)
Notes
Diffstat (limited to 'math/vtk5')
-rw-r--r--math/vtk5/Makefile5
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: