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