aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 12:48:54 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 12:48:54 +0800
commit7818c8258484b037c760483ed846ca6164212560 (patch)
tree04fae528f751bcee0bb80ba39e7cb88821d1b62c /science
parent7041e2601bf0e92eff31199590712c8a93c398e5 (diff)
downloadfreebsd-ports-gnome-7818c8258484b037c760483ed846ca6164212560.tar.gz
freebsd-ports-gnome-7818c8258484b037c760483ed846ca6164212560.tar.zst
freebsd-ports-gnome-7818c8258484b037c760483ed846ca6164212560.zip
- fix build for png-1.4.1
Diffstat (limited to 'science')
-rw-r--r--science/paraview/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 064560b80996..fd22106fde35 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -66,6 +66,10 @@ BROKEN= does not build on 6.x
post-extract:
${MKDIR} ${WRKSRC}
+post-patch:
+ ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${PATCH_WRKSRC}/VTK/IO/vtkPNGReader.cxx
+
post-install:
.for c2f in ${CMAKE2INST}
${SED} -e 's|${WRKSRC}|${LIB_INSTDIR}|g' \