aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-09-01 02:44:42 +0800
committerpav <pav@FreeBSD.org>2006-09-01 02:44:42 +0800
commit5f4fe9cde7d1d7459f8e35a255509cfdd7839619 (patch)
treed51dba5b7a075cab6be83ee987496218b0c241f7 /x11-fm
parentf37a7a56b436b81e3cf43b3c6d75d8889dbf982d (diff)
downloadfreebsd-ports-graphics-5f4fe9cde7d1d7459f8e35a255509cfdd7839619.tar.gz
freebsd-ports-graphics-5f4fe9cde7d1d7459f8e35a255509cfdd7839619.tar.zst
freebsd-ports-graphics-5f4fe9cde7d1d7459f8e35a255509cfdd7839619.zip
- 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')
-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 14dd8e43c62..2a496ed2ecc 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>