From owner-svn-ports-all@freebsd.org Tue Mar 20 06:28:52 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 A50ABF565B9; Tue, 20 Mar 2018 06:28:52 +0000 (UTC) (envelope-from antoine@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 567C481EB0; Tue, 20 Mar 2018 06:28:52 +0000 (UTC) (envelope-from antoine@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 518201965B; Tue, 20 Mar 2018 06:28:52 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2K6Sqtx014127; Tue, 20 Mar 2018 06:28:52 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2K6SqGe014126; Tue, 20 Mar 2018 06:28:52 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201803200628.w2K6SqGe014126@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Tue, 20 Mar 2018 06:28:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465068 - head/sysutils/sleuthkit/files X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/sysutils/sleuthkit/files X-SVN-Commit-Revision: 465068 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.25 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: Tue, 20 Mar 2018 06:28:52 -0000 Author: antoine Date: Tue Mar 20 06:28:52 2018 New Revision: 465068 URL: https://svnweb.freebsd.org/changeset/ports/465068 Log: Fix build with clang 6 Added: head/sysutils/sleuthkit/files/ head/sysutils/sleuthkit/files/patch-tools_srchtools_sigfind.cpp (contents, props changed) Added: head/sysutils/sleuthkit/files/patch-tools_srchtools_sigfind.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/sleuthkit/files/patch-tools_srchtools_sigfind.cpp Tue Mar 20 06:28:52 2018 (r465068) @@ -0,0 +1,23 @@ +--- tools/srchtools/sigfind.cpp.orig 2018-02-21 04:27:25 UTC ++++ tools/srchtools/sigfind.cpp +@@ -302,7 +302,7 @@ main(int argc, char **argv) + break; + } + else if (retval == -1) { +- fprintf(stderr, "error reading bytes %"PRIuOFF"\n", i); ++ fprintf(stderr, "error reading bytes %" PRIuOFF "\n", i); + exit(1); + } + +@@ -312,9 +312,9 @@ main(int argc, char **argv) + ((sig_size < 3) || (block[rel_offset + 2] == sig[2])) && + ((sig_size < 4) || (block[rel_offset + 3] == sig[3]))) { + if (prev_hit == -1) +- printf("Block: %"PRIuOFF" (-)\n", i); ++ printf("Block: %" PRIuOFF " (-)\n", i); + else +- printf("Block: %"PRIuOFF" (+%"PRIuOFF")\n", i, ++ printf("Block: %" PRIuOFF " (+%" PRIuOFF ")\n", i, + (i - prev_hit)); + + prev_hit = i;