summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-08-31 18:44:42 +0000
committerpav <pav@FreeBSD.org>2006-08-31 18:44:42 +0000
commit5f4fe9cde7d1d7459f8e35a255509cfdd7839619 (patch)
treed51dba5b7a075cab6be83ee987496218b0c241f7
parentf37a7a56b436b81e3cf43b3c6d75d8889dbf982d (diff)
downloadFreeBSD-ports-5f4fe9cde7d1d7459f8e35a255509cfdd7839619.zip
FreeBSD-ports-5f4fe9cde7d1d7459f8e35a255509cfdd7839619.tar.gz
- Fix build on FreeBSD 5.X and older
PR: ports/102730 Submitted by: Marcus von Appen <mva@sysfault.org> (maintainer)
-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 14dd8e4..2a496ed 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>
OpenPOWER on IntegriCloud