From 5f4fe9cde7d1d7459f8e35a255509cfdd7839619 Mon Sep 17 00:00:00 2001 From: pav Date: Thu, 31 Aug 2006 18:44:42 +0000 Subject: - Fix build on FreeBSD 5.X and older PR: ports/102730 Submitted by: Marcus von Appen (maintainer) --- x11-fm/emelfm2/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'x11-fm') 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 -- cgit