svn commit: r407729 - in head/www/varnish4: . files

Mark Felder feld at FreeBSD.org
Mon Feb 1 19:10:01 UTC 2016


Author: feld
Date: Mon Feb  1 19:09:59 2016
New Revision: 407729
URL: https://svnweb.freebsd.org/changeset/ports/407729

Log:
  www/varnish4: Fix build on i386
  
  Pull in patch from upstream
  
  https://www.varnish-cache.org/trac/ticket/1851
  
  PR:		206778

Added:
  head/www/varnish4/files/patch-bin_varnishstat_varnishstat__curses.c   (contents, props changed)
Modified:
  head/www/varnish4/Makefile

Modified: head/www/varnish4/Makefile
==============================================================================
--- head/www/varnish4/Makefile	Mon Feb  1 17:57:03 2016	(r407728)
+++ head/www/varnish4/Makefile	Mon Feb  1 19:09:59 2016	(r407729)
@@ -2,7 +2,7 @@
 
 PORTNAME=	varnish
 PORTVERSION=	4.1.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://repo.varnish-cache.org/source/
 PKGNAMESUFFIX=	4

Added: head/www/varnish4/files/patch-bin_varnishstat_varnishstat__curses.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish4/files/patch-bin_varnishstat_varnishstat__curses.c	Mon Feb  1 19:09:59 2016	(r407729)
@@ -0,0 +1,14 @@
+--- bin/varnishstat/varnishstat_curses.c.orig	2016-01-28 10:30:41 UTC
++++ bin/varnishstat/varnishstat_curses.c
+@@ -540,8 +540,9 @@ static void
+ print_duration(WINDOW *w, time_t t)
+ {
+ 
+-	wprintw(w, "%4lu+%02lu:%02lu:%02lu",
+-	    t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
++	wprintw(w, "%4jd+%02jd:%02jd:%02jd",
++	    (intmax_t)t / 86400, (intmax_t)(t % 86400) / 3600,
++	    (intmax_t)(t % 3600) / 60, (intmax_t)t % 60);
+ }
+ 
+ static void


More information about the svn-ports-all mailing list