Date: Fri, 18 Aug 2017 15:57:23 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448243 - in head/benchmarks/iperf: . files Message-ID: <201708181557.v7IFvNAJ001894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Aug 18 15:57:22 2017 New Revision: 448243 URL: https://svnweb.freebsd.org/changeset/ports/448243 Log: Add upstream patch to fix 32 bit constant - Bump PORTREVISION for package change Obtained from: https://sourceforge.net/p/iperf2/code/ci/33812baeb46fce55e45b5ebc7da9dbdd8112a386/ Notified by: Robert McMahon <rjmcmahon@rjmcmahon.com> MFH: 2017Q3 Added: head/benchmarks/iperf/files/patch-src-Client.cpp (contents, props changed) Modified: head/benchmarks/iperf/Makefile Modified: head/benchmarks/iperf/Makefile ============================================================================== --- head/benchmarks/iperf/Makefile Fri Aug 18 15:53:33 2017 (r448242) +++ head/benchmarks/iperf/Makefile Fri Aug 18 15:57:22 2017 (r448243) @@ -3,6 +3,7 @@ PORTNAME= iperf PORTVERSION= 2.0.10 +PORTREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= SF/${PORTNAME}2 Added: head/benchmarks/iperf/files/patch-src-Client.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/iperf/files/patch-src-Client.cpp Fri Aug 18 15:57:22 2017 (r448243) @@ -0,0 +1,11 @@ +--- src/Client.cpp.orig 2017-08-09 03:54:14 UTC ++++ src/Client.cpp +@@ -680,7 +680,7 @@ void Client::Run( void ) { + + // store datagram ID into buffer + if (isSeqNo64b(mSettings)) { +- mBuf_UDP->id = htonl((reportstruct->packetID & 0xFFFFFFFFFL)); ++ mBuf_UDP->id = htonl((reportstruct->packetID & 0xFFFFFFFFL)); + mBuf_UDP->id2 = htonl((((reportstruct->packetID & 0xFFFFFFFF00000000LL) >> 32) | 0x80000000L)); + } else { + mBuf_UDP->id = htonl(((reportstruct->packetID & 0xFFFFFFFFL) | 0x80000000L));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708181557.v7IFvNAJ001894>