diff options
author | bf <bf@FreeBSD.org> | 2011-08-20 20:19:47 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2011-08-20 20:19:47 +0800 |
commit | 8c9055ae7eddf274439e5f1431d51c654c56a33c (patch) | |
tree | bdf061a48f5a198b1615488c1bf1e5a960344344 /textproc/unrtf | |
parent | af81634fb36442afd12ff788d8c70229d6a0409f (diff) | |
download | freebsd-ports-gnome-8c9055ae7eddf274439e5f1431d51c654c56a33c.tar.gz freebsd-ports-gnome-8c9055ae7eddf274439e5f1431d51c654c56a33c.tar.zst freebsd-ports-gnome-8c9055ae7eddf274439e5f1431d51c654c56a33c.zip |
fix clang build
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) |