From owner-svn-ports-head@freebsd.org Fri Mar 9 17:57:28 2018 Return-Path: Delivered-To: svn-ports-head@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 9E66EF3E250; Fri, 9 Mar 2018 17:57:28 +0000 (UTC) (envelope-from arved@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 6B13084038; Fri, 9 Mar 2018 17:57:28 +0000 (UTC) (envelope-from arved@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 657B4225E0; Fri, 9 Mar 2018 17:57:28 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w29HvSTl018084; Fri, 9 Mar 2018 17:57:28 GMT (envelope-from arved@FreeBSD.org) Received: (from arved@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w29HvSpZ018082; Fri, 9 Mar 2018 17:57:28 GMT (envelope-from arved@FreeBSD.org) Message-Id: <201803091757.w29HvSpZ018082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arved set sender to arved@FreeBSD.org using -f From: Tilman Keskinoz Date: Fri, 9 Mar 2018 17:57:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463984 - in head/sysutils/aimage: . files X-SVN-Group: ports-head X-SVN-Commit-Author: arved X-SVN-Commit-Paths: in head/sysutils/aimage: . files X-SVN-Commit-Revision: 463984 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2018 17:57:28 -0000 Author: arved Date: Fri Mar 9 17:57:27 2018 New Revision: 463984 URL: https://svnweb.freebsd.org/changeset/ports/463984 Log: Fix build on 11.x/12.x PR: 226229 Submitted by: maintainer Added: head/sysutils/aimage/files/ head/sysutils/aimage/files/patch-src_aimage.cpp (contents, props changed) Modified: head/sysutils/aimage/Makefile Modified: head/sysutils/aimage/Makefile ============================================================================== --- head/sysutils/aimage/Makefile Fri Mar 9 17:55:55 2018 (r463983) +++ head/sysutils/aimage/Makefile Fri Mar 9 17:57:27 2018 (r463984) @@ -3,6 +3,7 @@ PORTNAME= aimage PORTVERSION= 3.2.5 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://digitalcorpora.org/downloads/ @@ -13,7 +14,7 @@ LICENSE= BSD3CLAUSE LIB_DEPENDS= libafflib.so:sysutils/afflib -USES= gmake ssl +USES= gmake readline ssl GNU_CONFIGURE= yes PLIST_FILES= bin/aimage Added: head/sysutils/aimage/files/patch-src_aimage.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/aimage/files/patch-src_aimage.cpp Fri Mar 9 17:57:27 2018 (r463984) @@ -0,0 +1,20 @@ +--- src/aimage.cpp.orig 2018-02-26 16:24:29.829120000 -0800 ++++ src/aimage.cpp 2018-02-26 16:25:21.187218000 -0800 +@@ -344,7 +344,7 @@ + /* log if necessary */ + if(logfile){ + fprintf(logfile, +- " pagenum=%"I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n", ++ " pagenum=%" I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n", + acbi->pagenum, + acbi->bytes_to_write, + acbi->bytes_written, +@@ -621,7 +621,7 @@ + int64 ret=0; + int multiplier=1; + char ch,junk; +- switch(sscanf(arg,"%"I64d"%c%c",&ret,&ch,&junk)){ ++ switch(sscanf(arg,"%" I64d"%c%c",&ret,&ch,&junk)){ + case 1: + return ret; // no multiplier + case 2: