mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Add upstream patch to fix 32 bit constant
- Bump PORTREVISION for package change
Obtained from: 33812baeb4
/
Notified by: Robert McMahon <rjmcmahon@rjmcmahon.com>
MFH: 2017Q3
This commit is contained in:
parent
d4ae46c754
commit
2eb2556f28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448243
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= iperf
|
||||
PORTVERSION= 2.0.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= SF/${PORTNAME}2
|
||||
|
||||
|
11
benchmarks/iperf/files/patch-src-Client.cpp
Normal file
11
benchmarks/iperf/files/patch-src-Client.cpp
Normal file
@ -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));
|
Loading…
Reference in New Issue
Block a user