- Fix build on FreeBSD 5.X and older

PR:		ports/102730
Submitted by:	Marcus von Appen <mva@sysfault.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-08-31 18:44:42 +00:00
parent 80c61238a8
commit 81799e350f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171748

View file

@ -39,4 +39,10 @@ PLIST_SUB+= NLS="@comment "
USE_GCC= 3.4
.endif
.if ${OSVERSION} < 600000
post-patch:
@${REINPLACE_CMD} -e 's|blksize_t buf_size =|__int32_t buf_size =|g' \
${WRKSRC}/src/e2_task_backend.c
.endif
.include <bsd.port.post.mk>