aboutsummaryrefslogtreecommitdiff
path: root/cad/brlcad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/brlcad/Makefile')
-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}