From fe4260fc2e9a563fb84c6b3b831955a26640b9f2 Mon Sep 17 00:00:00 2001 From: Brendan Fabeny Date: Sat, 20 Aug 2011 12:19:47 +0000 Subject: fix clang build --- textproc/unrtf/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'textproc/unrtf') 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) -- cgit v1.2.3