aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-30 02:19:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-30 02:19:49 +0000
commit477ff62ce091a52eadd13d6d0b622d6b346df025 (patch)
tree6f2e2f79b0ae1ed3ea2fad0f8c1988ebbf8deebe
parent8b1b586ea8b8b110bdda92a6c12653fd9b6add63 (diff)
downloadports-477ff62ce091a52eadd13d6d0b622d6b346df025.tar.gz
ports-477ff62ce091a52eadd13d6d0b622d6b346df025.zip
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=251775
-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}