summaryrefslogtreecommitdiff
path: root/x11-fm/emelfm2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-31 18:44:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-31 18:44:42 +0000
commit81799e350f6d7d8e904453df881e45ada219c27c (patch)
treefd70110e3e9b8494d66aa4f6ae73708d0babf37d /x11-fm/emelfm2
parent- Update to 3.8.9a (diff)
- Fix build on FreeBSD 5.X and older
PR: ports/102730 Submitted by: Marcus von Appen <mva@sysfault.org> (maintainer)
Diffstat (limited to 'x11-fm/emelfm2')
-rw-r--r--x11-fm/emelfm2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-fm/emelfm2/Makefile b/x11-fm/emelfm2/Makefile
index 14dd8e43c625..2a496ed2ecc4 100644
--- a/x11-fm/emelfm2/Makefile
+++ b/x11-fm/emelfm2/Makefile
@@ -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>