summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-30 13:27:40 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-30 13:27:40 +0000
commite8b4937fc97cb737c090b350bbba633413a7c2d4 (patch)
tree1ba07da4c453a46f09bdae12458da25b3d23cc76 /benchmarks
parent- Update to 20140607, announce message: (diff)
Fix build with clang.
Notes
Notes: svn path=/head/; revision=363479
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/pathload/Makefile4
1 files changed, 4 insertions, 0 deletions
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