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