diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mpd5/Makefile | 2 | ||||
-rw-r--r-- | net/mpd5/files/patch-fixstats | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile index 7344402baebc..4fed5d24d79b 100644 --- a/net/mpd5/Makefile +++ b/net/mpd5/Makefile @@ -3,7 +3,7 @@ PORTNAME= mpd DISTVERSION= 5.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION} PKGNAMESUFFIX= 5 diff --git a/net/mpd5/files/patch-fixstats b/net/mpd5/files/patch-fixstats new file mode 100644 index 000000000000..065d094f50dc --- /dev/null +++ b/net/mpd5/files/patch-fixstats @@ -0,0 +1,30 @@ +Index: src/bund.c +=================================================================== +--- src/bund.c (revision 2246) ++++ src/bund.c (revision 2247) +@@ -1394,9 +1394,9 @@ BundUpdateStats(Bund b) + b->stats.runts += abs(stats.runts - b->oldStats.runts); + b->stats.dupFragments += abs(stats.dupFragments - b->oldStats.dupFragments); + b->stats.dropFragments += abs(stats.dropFragments - b->oldStats.dropFragments); ++ b->oldStats = stats; + } + +- b->oldStats = stats; + #else + NgFuncGetStats64(b, l, &b->stats); + #endif +Index: src/link.c +=================================================================== +--- src/link.c (revision 2246) ++++ src/link.c (revision 2247) +@@ -1359,9 +1359,9 @@ LinkUpdateStats(Link l) + l->stats.runts += abs(stats.runts - l->oldStats.runts); + l->stats.dupFragments += abs(stats.dupFragments - l->oldStats.dupFragments); + l->stats.dropFragments += abs(stats.dropFragments - l->oldStats.dropFragments); ++ l->oldStats = stats; + } + +- l->oldStats = stats; + #else + NgFuncGetStats64(l->bund, l->bundleIndex, &l->stats); + #endif |