From owner-svn-ports-all@freebsd.org Sat Aug 25 19:14:00 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E81B61093D20; Sat, 25 Aug 2018 19:13:59 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E5957E701; Sat, 25 Aug 2018 19:13:59 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F4FD240F0; Sat, 25 Aug 2018 19:13:59 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7PJDxNj094593; Sat, 25 Aug 2018 19:13:59 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7PJDx9A094592; Sat, 25 Aug 2018 19:13:59 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808251913.w7PJDx9A094592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 25 Aug 2018 19:13:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478083 - head/net/libtrace/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/net/libtrace/files X-SVN-Commit-Revision: 478083 X-SVN-Commit-Repository: ports 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.27 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: Sat, 25 Aug 2018 19:14:00 -0000 Author: tobik Date: Sat Aug 25 19:13:59 2018 New Revision: 478083 URL: https://svnweb.freebsd.org/changeset/ports/478083 Log: net/libtrace: Fix build with Clang 6 tracetop.cc:380:16: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printw("%7"PRIu64"\t%7"PRIu64"\n", ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/libtrace-3.0.19_2.log Added: head/net/libtrace/files/ head/net/libtrace/files/patch-tools_tracetop_tracetop.cc (contents, props changed) Added: head/net/libtrace/files/patch-tools_tracetop_tracetop.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libtrace/files/patch-tools_tracetop_tracetop.cc Sat Aug 25 19:13:59 2018 (r478083) @@ -0,0 +1,21 @@ +tracetop.cc:380:16: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] + printw("%7"PRIu64"\t%7"PRIu64"\n", + ^ + +--- tools/tracetop/tracetop.cc.orig 2018-08-25 19:01:36 UTC ++++ tools/tracetop/tracetop.cc +@@ -377,12 +377,12 @@ static void do_report() + } + switch (display_as) { + case BYTES: +- printw("%7"PRIu64"\t%7"PRIu64"\n", ++ printw("%7" PRIu64 "\t%7" PRIu64 "\n", + pq.top().bytes, + pq.top().packets); + break; + case BITS_PER_SEC: +- printw("%14.03f\t%"PRIu64"\n", ++ printw("%14.03f\t%" PRIu64 "\n", + 8.0*pq.top().bytes/interval, + pq.top().packets); + break;