diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 15:18:04 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 15:18:04 +0800 |
commit | e7d9ae83ea532a52884405f96393feab55b26afd (patch) | |
tree | 94afde48490dfe660d43b08cb3e82187228e250d /math | |
parent | 8167b4fa7385d9a2a6ef2b9d7e48cf50a66f0319 (diff) | |
download | freebsd-ports-gnome-e7d9ae83ea532a52884405f96393feab55b26afd.tar.gz freebsd-ports-gnome-e7d9ae83ea532a52884405f96393feab55b26afd.tar.zst freebsd-ports-gnome-e7d9ae83ea532a52884405f96393feab55b26afd.zip |
- fix build for png-1.4.1
Diffstat (limited to 'math')
-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: |