Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 13:27:40 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363479 - head/benchmarks/pathload
Message-ID:  <201407301327.s6UDReMi024551@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Jul 30 13:27:40 2014
New Revision: 363479
URL: http://svnweb.freebsd.org/changeset/ports/363479
QAT: https://qat.redports.org/buildarchive/r363479/

Log:
  Fix build with clang.

Modified:
  head/benchmarks/pathload/Makefile

Modified: head/benchmarks/pathload/Makefile
==============================================================================
--- head/benchmarks/pathload/Makefile	Wed Jul 30 13:20:08 2014	(r363478)
+++ head/benchmarks/pathload/Makefile	Wed Jul 30 13:27:40 2014	(r363479)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407301327.s6UDReMi024551>