git: ccdfba723f9f - main - benchmarks/netperfmeter: Update to new release 1.9.6

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 12 Feb 2024 07:30:57 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccdfba723f9fe2bf62368b8ef565ab2ed50fd2cc

commit ccdfba723f9fe2bf62368b8ef565ab2ed50fd2cc
Author:     Thomas Dreibholz <thomas.dreibholz@gmail.com>
AuthorDate: 2024-02-10 19:42:23 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-02-12 07:30:42 +0000

    benchmarks/netperfmeter: Update to new release 1.9.6
    
    ChangeLog: https://www.nntb.no/~dreibh/netperfmeter/
    
    PR:             275604
    Reported by:    thomas.dreibholz@gmail.com
---
 benchmarks/netperfmeter/Makefile                 |  3 +--
 benchmarks/netperfmeter/distinfo                 |  6 +++---
 benchmarks/netperfmeter/files/patch-src_tools.cc | 25 ------------------------
 3 files changed, 4 insertions(+), 30 deletions(-)

diff --git a/benchmarks/netperfmeter/Makefile b/benchmarks/netperfmeter/Makefile
index 3b9fff338bf2..3693607176da 100644
--- a/benchmarks/netperfmeter/Makefile
+++ b/benchmarks/netperfmeter/Makefile
@@ -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/
 
diff --git a/benchmarks/netperfmeter/distinfo b/benchmarks/netperfmeter/distinfo
index cc29772dae08..41cc7a05f3f2 100644
--- a/benchmarks/netperfmeter/distinfo
+++ b/benchmarks/netperfmeter/distinfo
@@ -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
diff --git a/benchmarks/netperfmeter/files/patch-src_tools.cc b/benchmarks/netperfmeter/files/patch-src_tools.cc
deleted file mode 100644
index 8007c7c87668..000000000000
--- a/benchmarks/netperfmeter/files/patch-src_tools.cc
+++ /dev/null
@@ -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
-+
- }
- 
-