summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>