svn commit: r448282 - in branches/2017Q3/benchmarks/iperf: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Aug 19 04:48:50 UTC 2017
Author: sunpoet
Date: Sat Aug 19 04:48:49 2017
New Revision: 448282
URL: https://svnweb.freebsd.org/changeset/ports/448282
Log:
MFH: r448243
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 at rjmcmahon.com>
Approved by: ports-secteam (feld)
Added:
branches/2017Q3/benchmarks/iperf/files/patch-src-Client.cpp
- copied unchanged from r448243, head/benchmarks/iperf/files/patch-src-Client.cpp
Modified:
branches/2017Q3/benchmarks/iperf/Makefile
Directory Properties:
branches/2017Q3/ (props changed)
Modified: branches/2017Q3/benchmarks/iperf/Makefile
==============================================================================
--- branches/2017Q3/benchmarks/iperf/Makefile Sat Aug 19 04:13:45 2017 (r448281)
+++ branches/2017Q3/benchmarks/iperf/Makefile Sat Aug 19 04:48:49 2017 (r448282)
@@ -3,6 +3,7 @@
PORTNAME= iperf
PORTVERSION= 2.0.10
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= SF/${PORTNAME}2
Copied: branches/2017Q3/benchmarks/iperf/files/patch-src-Client.cpp (from r448243, head/benchmarks/iperf/files/patch-src-Client.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2017Q3/benchmarks/iperf/files/patch-src-Client.cpp Sat Aug 19 04:48:49 2017 (r448282, copy of r448243, head/benchmarks/iperf/files/patch-src-Client.cpp)
@@ -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));
More information about the svn-ports-all
mailing list