From owner-svn-ports-all@freebsd.org Mon Feb 1 19:10:01 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DF24A977B1; Mon, 1 Feb 2016 19:10:01 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FF51A6C; Mon, 1 Feb 2016 19:10:01 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u11JA0c3089331; Mon, 1 Feb 2016 19:10:00 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u11JA0sH089329; Mon, 1 Feb 2016 19:10:00 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201602011910.u11JA0sH089329@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 1 Feb 2016 19:10:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407729 - in head/www/varnish4: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 19:10:01 -0000 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