From e8b4937fc97cb737c090b350bbba633413a7c2d4 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Wed, 30 Jul 2014 13:27:40 +0000 Subject: [PATCH] Fix build with clang. --- benchmarks/pathload/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/benchmarks/pathload/Makefile b/benchmarks/pathload/Makefile index e56d5db791bf..df35dd7d8f5b 100644 --- a/benchmarks/pathload/Makefile +++ b/benchmarks/pathload/Makefile @@ -19,6 +19,10 @@ MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/pathload_rcv bin/pathload_snd +post-patch: + @${REINPLACE_CMD} -e '/^int main/s/l_int32 argc/int argc/' \ + ${WRKSRC}/pathload_rcv.c + do-install: .for f in pathload_rcv pathload_snd ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin