aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--palm/pilot-link/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index 5ce538dd22f5..58a9e7b3b200 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -62,6 +62,12 @@ CONFIGURE_ARGS+= --disable-png
.include "${.CURDIR}/manpages.mk"
post-patch:
+ @${REINPLACE_CMD} -e 's|png_voidp_NULL|NULL|g' \
+ -e 's|png_error_ptr_NULL|NULL|g' \
+ ${WRKSRC}/src/pilot-read-notepad.c \
+ ${WRKSRC}/src/pilot-read-palmpix.c \
+ ${WRKSRC}/src/pilot-read-screenshot.c \
+ ${WRKSRC}/src/pilot-read-veo.c
.if !defined(WITHOUT_THREADS)
@${REINPLACE_CMD} -e 's|Libs: |Libs: ${PTHREAD_LIBS} |' ${WRKSRC}/pilot-link.pc.in ${WRKSRC}/pilot-link-pp.pc.in
.endif