aboutsummaryrefslogtreecommitdiff
path: root/textproc/unrtf
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-10-26 08:07:10 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-10-26 08:07:10 +0000
commit788466c7df2934c4311fe6f3e3fc828aaba18002 (patch)
tree9b6ad066222c5f419cfea2e6678475ec8e2eccc1 /textproc/unrtf
parentaa84378396657931cedfb11da3eb748427545d72 (diff)
downloadports-788466c7df2934c4311fe6f3e3fc828aaba18002.tar.gz
ports-788466c7df2934c4311fe6f3e3fc828aaba18002.zip
Notes
Diffstat (limited to 'textproc/unrtf')
-rw-r--r--textproc/unrtf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile
index c77f445fa4e8..68d89269cebf 100644
--- a/textproc/unrtf/Makefile
+++ b/textproc/unrtf/Makefile
@@ -24,6 +24,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|^CC|#CC| ; s|^CFLAGS|#CFLAGS| ; \
s| ||" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|<malloc\.h>|<stdlib.h>|" ${WRKSRC}/malloc.c
+ ${REINPLACE_CMD} -e 's/printf (op->\(.*\))/printf (op->\1 == NULL ? "" : op->\1)/' ${WRKSRC}/convert.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrtf ${PREFIX}/bin