1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

benchmarks/netperfmeter: Update to new release 1.9.6

ChangeLog: https://www.nntb.no/~dreibh/netperfmeter/

PR:		275604
Reported by:	thomas.dreibholz@gmail.com
This commit is contained in:
Thomas Dreibholz 2024-02-10 20:42:23 +01:00 committed by Fernando Apesteguía
parent 4d762eff09
commit ccdfba723f
3 changed files with 4 additions and 30 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= netperfmeter
PORTVERSION= 1.9.0
PORTREVISION= 1
PORTVERSION= 1.9.6
CATEGORIES= benchmarks
MASTER_SITES= https://www.uni-due.de/~be0001/netperfmeter/download/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1618741846
SHA256 (netperfmeter-1.9.0.tar.xz) = 34d1e3837d8288856ffee6cd443ed447b08a15791508dc385cec45b30caa483a
SIZE (netperfmeter-1.9.0.tar.xz) = 243212
TIMESTAMP = 1702901927
SHA256 (netperfmeter-1.9.6.tar.xz) = 49421ae81d8c0d2082d133d933b7ec49770ff8d9970773cd23c4c6655da72f91
SIZE (netperfmeter-1.9.6.tar.xz) = 283172

View File

@ -1,25 +0,0 @@
--- src/tools.cc.orig 2022-10-20 09:17:55 UTC
+++ src/tools.cc
@@ -1135,11 +1135,13 @@ uint64_t random64()
/* ###### Get 32-bit random value ######################################## */
uint32_t random32()
{
+/*
#ifdef NDEBUG
#warning Using OMNeT++ random generator instead of time-seeded one!
const double value = uniform(0.0, (double)0xffffffff);
return((uint32_t)rint(value));
#else
+*/
uint32_t number;
switch(RandomSource) {
@@ -1165,7 +1167,7 @@ uint32_t random32()
const uint16_t a = random() & 0xffff;
const uint16_t b = random() & 0xffff;
return( (((uint32_t)a) << 16) | (uint32_t)b );
-#endif
+
}