aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 22:33:40 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 22:33:40 +0800
commit6bad3a791ecde49fccf6443745ce5d74f37c12ef (patch)
tree579c2aec2a8955419d05fb6b3f912614c983f052 /palm
parent32d3ffd22ce72ad4b8755eed1bd899d18da6c496 (diff)
downloadfreebsd-ports-graphics-6bad3a791ecde49fccf6443745ce5d74f37c12ef.tar.gz
freebsd-ports-graphics-6bad3a791ecde49fccf6443745ce5d74f37c12ef.tar.zst
freebsd-ports-graphics-6bad3a791ecde49fccf6443745ce5d74f37c12ef.zip
- fix option WITH_PNG
PR: 145163
Diffstat (limited to 'palm')
-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 5ce538dd22f..58a9e7b3b20 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