Date: Mon, 1 Feb 2016 19:10:00 +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: r407729 - in head/www/varnish4: . files Message-ID: <201602011910.u11JA0sH089329@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602011910.u11JA0sH089329>