aboutsummaryrefslogtreecommitdiffstats
path: root/cad/brlcad
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 10:19:49 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 10:19:49 +0800
commitc266443c26fa3dcc24f668f4d1a2bcd96560227f (patch)
tree47cf210ec77d1004ae4ddc157f428f6190e11ff1 /cad/brlcad
parentc81e7ec7a69e95f76d65c4a1ca9f5f1c357ae267 (diff)
downloadfreebsd-ports-gnome-c266443c26fa3dcc24f668f4d1a2bcd96560227f.tar.gz
freebsd-ports-gnome-c266443c26fa3dcc24f668f4d1a2bcd96560227f.tar.zst
freebsd-ports-gnome-c266443c26fa3dcc24f668f4d1a2bcd96560227f.zip
- fix build for png-1.4.1
Diffstat (limited to 'cad/brlcad')
-rw-r--r--cad/brlcad/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index 1656a021779d..e7f8eb284f87 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -122,6 +122,9 @@ CONFIGURE_ARGS+= --disable-debug --enable-optimized
post-patch:
${REINPLACE_CMD} "s+-exact Tcl 8\.5\.1+Tcl 8.5+" ${WRKSRC}/src/other/tcl/library/init.tcl
+ ${REINPLACE_CMD} -e 's|!png_check_sig( *(png_bytep)header, 8 *)|png_sig_cmp( (png_bytep)header, 0, 8 )|' \
+ ${WRKSRC}/src/canon/png-ipu.c ${WRKSRC}/src/fb/png-fb.c ${WRKSRC}/src/util/png-bw.c \
+ ${WRKSRC}/src/util/png-pix.c ${WRKSRC}/src/util/png_info.c
pre-install:
${CP} ${FILESDIR}/mged.sh ${WRKSRC}