aboutsummaryrefslogtreecommitdiff
path: root/textproc/unrtf
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2011-08-20 12:19:47 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2011-08-20 12:19:47 +0000
commitfe4260fc2e9a563fb84c6b3b831955a26640b9f2 (patch)
tree4dbfdc40d7d8ca1c80ff4f590438881a0e9b57a6 /textproc/unrtf
parent57c99a1a4841d952f47f857454866e10633d105a (diff)
downloadports-fe4260fc2e9a563fb84c6b3b831955a26640b9f2.tar.gz
ports-fe4260fc2e9a563fb84c6b3b831955a26640b9f2.zip
fix clang build
Notes
Notes: svn path=/head/; revision=280066
Diffstat (limited to 'textproc/unrtf')
-rw-r--r--textproc/unrtf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/unrtf/Makefile b/textproc/unrtf/Makefile
index ba65b5614adf..121521c55ddd 100644
--- a/textproc/unrtf/Makefile
+++ b/textproc/unrtf/Makefile
@@ -37,6 +37,8 @@ post-patch:
@${FIND} -X ${WRKSRC} -type f -and -name "*.[1h]" | ${XARGS} \
${REINPLACE_CMD} -e \
's|/usr/local/lib/unrtf/|${DATADIR}/|g'
+ @${REINPLACE_CMD} -e '/^attr_get_param/,/^}/s/return;/return NULL;/' \
+ ${WRKSRC}/src/attr.c
check regression-test test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check)