svn commit: r480669 - in branches/2018Q3/www/varnish6: . files
Mark Felder
feld at FreeBSD.org
Tue Sep 25 15:41:49 UTC 2018
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)
More information about the svn-ports-all
mailing list