diff options
Diffstat (limited to 'textproc/unrtf')
-rw-r--r-- | textproc/unrtf/Makefile | 2 |
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) |