Date: Tue, 25 Sep 2018 15:41:48 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r480669 - in branches/2018Q3/www/varnish6: . files Message-ID: <201809251541.w8PFfmYo003348@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Tue Sep 25 15:41:48 2018 New Revision: 480669 URL: https://svnweb.freebsd.org/changeset/ports/480669 Log: MFH: r480668 www/varnish6: Add patch to fix output of varnishhist Obtained from: https://github.com/varnishcache/varnish-cache/issues/2780 Added: branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c - copied unchanged from r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Modified: branches/2018Q3/www/varnish6/Makefile Directory Properties: branches/2018Q3/ (props changed) Modified: branches/2018Q3/www/varnish6/Makefile ============================================================================== --- branches/2018Q3/www/varnish6/Makefile Tue Sep 25 15:41:05 2018 (r480668) +++ branches/2018Q3/www/varnish6/Makefile Tue Sep 25 15:41:48 2018 (r480669) @@ -3,7 +3,7 @@ PORTNAME= varnish PORTVERSION= 6.0.1 DISTVERSIONPREFIX= varnish- -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www PKGNAMESUFFIX= 6 Copied: branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c (from r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Tue Sep 25 15:41:48 2018 (r480669, copy of r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c) @@ -0,0 +1,11 @@ +--- bin/varnishhist/varnishhist.c.orig 2018-08-29 09:52:28 UTC ++++ bin/varnishhist/varnishhist.c +@@ -299,7 +299,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transactio + continue; + + /* select bucket */ +- i = HIST_RES * lround(log(value) / log_ten); ++ i = lround(HIST_RES * log(value) / log_ten); + if (i < hist_low * HIST_RES) + i = hist_low * HIST_RES; + if (i >= hist_high * HIST_RES)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809251541.w8PFfmYo003348>