Date: Tue, 25 Sep 2018 15:41:05 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480668 - in head/www/varnish6: . files Message-ID: <201809251541.w8PFf57M002236@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Tue Sep 25 15:41:05 2018 New Revision: 480668 URL: https://svnweb.freebsd.org/changeset/ports/480668 Log: www/varnish6: Add patch to fix output of varnishhist Obtained from: https://github.com/varnishcache/varnish-cache/issues/2780 MFH: 2018Q3 Added: head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c (contents, props changed) Modified: head/www/varnish6/Makefile Modified: head/www/varnish6/Makefile ============================================================================== --- head/www/varnish6/Makefile Tue Sep 25 15:21:46 2018 (r480667) +++ head/www/varnish6/Makefile Tue Sep 25 15:41:05 2018 (r480668) @@ -3,7 +3,7 @@ PORTNAME= varnish PORTVERSION= 6.0.1 DISTVERSIONPREFIX= varnish- -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www PKGNAMESUFFIX= 6 Added: head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Tue Sep 25 15:41:05 2018 (r480668) @@ -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.w8PFf57M002236>