View | Details | Raw Unified | Return to bug 275604 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	netperfmeter
1
PORTNAME=	netperfmeter
2
PORTVERSION=	1.9.0
2
PORTVERSION=	1.9.6
3
PORTREVISION=	1
3
PORTREVISION=	1
4
CATEGORIES=	benchmarks
4
CATEGORIES=	benchmarks
5
MASTER_SITES=	https://www.uni-due.de/~be0001/netperfmeter/download/
5
MASTER_SITES=	https://www.uni-due.de/~be0001/netperfmeter/download/
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1618741846
1
TIMESTAMP = 1702901927
2
SHA256 (netperfmeter-1.9.0.tar.xz) = 34d1e3837d8288856ffee6cd443ed447b08a15791508dc385cec45b30caa483a
2
SHA256 (netperfmeter-1.9.6.tar.xz) = 49421ae81d8c0d2082d133d933b7ec49770ff8d9970773cd23c4c6655da72f91
3
SIZE (netperfmeter-1.9.0.tar.xz) = 243212
3
SIZE (netperfmeter-1.9.6.tar.xz) = 283172
(-)./files/patch-src_tools.cc (-25 lines)
Lines 1-25 Link Here
1
--- src/tools.cc.orig	2022-10-20 09:17:55 UTC
2
+++ src/tools.cc
3
@@ -1135,11 +1135,13 @@ uint64_t random64()
4
 /* ###### Get 32-bit random value ######################################## */
5
 uint32_t random32()
6
 {
7
+/*
8
 #ifdef NDEBUG
9
 #warning Using OMNeT++ random generator instead of time-seeded one!
10
    const double value = uniform(0.0, (double)0xffffffff);
11
    return((uint32_t)rint(value));
12
 #else
13
+*/
14
    uint32_t number;
15
 
16
    switch(RandomSource) {
17
@@ -1165,7 +1167,7 @@ uint32_t random32()
18
    const uint16_t a = random() & 0xffff;
19
    const uint16_t b = random() & 0xffff;
20
    return( (((uint32_t)a) << 16) | (uint32_t)b );
21
-#endif
22
+
23
 }
24
 
25
 

Return to bug 275604