diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 21:27:40 +0800 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 21:27:40 +0800 |
commit | e8b4937fc97cb737c090b350bbba633413a7c2d4 (patch) | |
tree | 1ba07da4c453a46f09bdae12458da25b3d23cc76 /benchmarks | |
parent | b4b8f61f4ee8bcd84d09c9a6f4e93b395e1a6afb (diff) | |
download | freebsd-ports-gnome-e8b4937fc97cb737c090b350bbba633413a7c2d4.tar.gz freebsd-ports-gnome-e8b4937fc97cb737c090b350bbba633413a7c2d4.tar.zst freebsd-ports-gnome-e8b4937fc97cb737c090b350bbba633413a7c2d4.zip |
Fix build with clang.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/pathload/Makefile | 4 |
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 |